Member since
07-08-2016
260
Posts
44
Kudos Received
10
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2404 | 05-02-2018 06:03 PM | |
4833 | 10-18-2017 04:02 PM | |
1554 | 08-25-2017 08:59 PM | |
2131 | 07-21-2017 08:13 PM | |
8543 | 04-06-2017 09:54 PM |
08-02-2018
04:41 PM
Hi @Nikita Buxy , Did you able to solve this , if so how.? I got an .asc file and passpharse from our vendor and i am trying to use EncryptContent processor to encrypt the files. i converted .asc to .gpg using this command , gpg --dearmor C:\SaiDEV\Backup.asc it created a Backup.asc.gpg file and i am pointing that in private keyring file. the EncryptContent is throwing the same error as you pointed above.. 11:34:32 CDT
ERROR
fb10a940-0164-1000-a27b-69c298405157
EncryptContent[id=fb10a940-0164-1000-a27b-69c298405157] Cannot decrypt StandardFlowFileRecord[uuid=11dcb47f-d30d-43b8-82d3-c80f7523d8ec,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1533227197998-43, container=default, section=43], offset=385301, length=128433],offset=0,name=Test.txt,size=128433] - : org.apache.nifi.processor.exception.ProcessException: Exception creating cipher Hi @Andy LoPresto , any help here..?? Regards, Sai
... View more
08-01-2018
04:46 PM
Hi , just trying to get some attention from experts.. any idea on how to decrypt PGP file using Passphrase and secrect key (Private Key). Regards, Sai
... View more
07-30-2018
06:11 PM
Hi @Matt Burgess , is there anyway I can use the "validaterecord" to just validate if its following a schema and then route to valid. don't know why we need to have the "Record Writer" for validation. its changing the file format a little bit. moving the tags order etc.. I just want the input file as output if its valid without changing the contents. or is there any other way that I can achieve this.? Regards, Sai
... View more
07-25-2018
04:11 PM
@Matt Burgess , thank you. I didn't know about Validate Field Names.
... View more
07-24-2018
09:05 PM
Hi @Matt Burgess , any idea what i am doing wrong in the above case.?
... View more
07-23-2018
09:26 PM
1 Kudo
Hi, i need to ingest only the JSON files following a valid schema. i am trying to achieve this by validate-record processor. i am supplying the same schema for both JSONTreeReader and JSONRecsetWriter. I am not using AVRO because my input contains _ in the names. (but i came up with this schema by modifying the input file without _ and using inferAvroSchema and then changed both to use _ to match the input file) my schema and files are matching but its sending it to invalid relation. Anything wrong that i am doing..?? Schema : {
"type": "record", "name": "iHist", "fields": [ {
"name": "file_name",
"type": "string"
}, {
"name": "plant",
"type": "string"
}, {
"name": "collector",
"type": "string"
}, {
"name": "name",
"type": "string"
}, {
"name": "unique_id",
"type": "string"
}, {
"name": "description",
"type": "string"
}, {
"name": "general_1",
"type": "string"
}, {
"name": "general_2",
"type": "string"
}, {
"name": "general_3",
"type": "string"
}, {
"name": "general_4",
"type": "string"
}, {
"name": "general_5",
"type": "string"
}, {
"name": "data_points",
"type": {
"type": "array", "items": {
"type": "record", "name": "data_points", "fields": [ {
"name": "timestamp",
"type": "string"
}, {
"name": "value",
"type": "string"
},
{
"name": "quality",
"type": "string"
}
]
}
}
}
]
} Data file.. {
"file-name": "tp-tcollec.tag.json", "plant": "P11A3", "collector": "test_Collector", "name": "tag_SAFETY_MARGN.F_CV", "unique-id": "1532358720761", "description": "test", "general-1": "", "general-2": "", "general-3": "", "general-4": "", "general-5": "", "datapoints": [ {
"timestamp": "2016-07-19T10:25:43.000Z",
"value": "177",
"quality": "100"
}, {
"timestamp": "2016-07-19T10:25:42.000Z",
"value": "177",
"quality": "100"
}, {
"timestamp": "2016-07-19T10:25:41.000Z",
"value": "177",
"quality": "100"
}
]
} I just need to validate if the input file is following the schema. any better ways to do this.??
... View more
Labels:
- Labels:
-
Apache NiFi
07-20-2018
07:58 PM
Hi Experts, any help here..How do we decrypt PGP encrypted file.? I have Passphrase and Private Key..are those enough.? Regards, Sai
... View more
07-20-2018
03:45 PM
@ashok.kumar , I already tried copying the private key to a file and pointing to that , but see the same error. the processor still shows the same warning.
... View more
07-20-2018
02:18 PM
@ashok.kumar , The private key and the passphrase was given to me by the 3rd party vendor. Can I directly use them in the processor as in the screenshot or Should I use some commands to generate Private Keyring file.? if so how to do that.? Regards, Sai
... View more
07-19-2018
06:32 PM
Hi, We downloaded a file from our vendors AWS S3 which is PGP encrypted and i am trying to Decrypt it using EncryptContent processor. I set the Private Key and Passphase provided by them. But the processor shows a warning on the top left with Private Keyring file is invalid and could not be opened with the Password phrase provided. am i doing something wrong.? Should i not include -----BEGIN PGP PRIVATE KEY BLOCK----- and -----END PGP PRIVATE KEY BLOCK-----.? i tried removing it and same thing happens. Attached the screen shots. Regards, Sai
... View more
Labels:
- Labels:
-
Apache NiFi