Member since
01-08-2020
11
Posts
1
Kudos Received
0
Solutions
01-28-2020
07:09 AM
Thanks @stevenmatison. I tried escape "s and still it is failing.
... View more
01-28-2020
07:06 AM
1 Kudo
@jsensharma Thanks for your response. We are using 1.7. I changed ExecuteStreamCommand to InvokeHTTP processor.
... View more
01-27-2020
12:10 PM
As mentioned in the below screenshot, I have added client cert (.jks) in keystore and server cert (.jks) in truststore. Server is expecting a client cert as part of request but when I make a rest call, client certificate is going in the request. Here is the command that I used to generate a .jks file on top of client certificate: keytool -importkeystore -srckeystore nifi.com.pfx -srcstoretype pkcs12 -destkeystore nifi.com.jks -deststoretype jks -srckeypass 'abcxyz' -alias data-nifi-cd @MattWho
... View more
01-27-2020
11:51 AM
I am using execute stream command processor to make a curl call to rest api and getting below json parse exception.
Curl Call: (below command was extracted into a variable called curlcommand as mentioned in the screenshot)
--location;--request;POST;"https://abc.com/data";--header;${content_type};-d;"[{"bin": "02608","groupId": "52821094"},{"bin": "02609","groupId": "528212387"}]"
Exception:
{"timestamp":1580154052402,"status":400,"error":"Bad Request","message":"JSON parse error: Unexpected character ('b' (code 98)): was expecting double-quote to start field name; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('b' (code 98)): was expecting double-quote to start field name\n at [Source: (PushbackInputStream); line: 1, column: 2] (through reference chain: java.util.ArrayList[0])","path":"/data"}
Please help..
... View more
Labels:
- Labels:
-
Apache NiFi
01-23-2020
11:51 AM
Will do. Thanks.
... View more
01-23-2020
11:39 AM
@MattWho Thanks for your response. Our Nifi version is 1.7.
... View more
01-21-2020
02:04 PM
Thanks @stevenmatison As you mentioned, I have configured the InvokeHttp processor and sent a request to server and received the response. Is there any way to verify the outgoing request has the certificate attached from Nifi side (client)?
... View more
01-19-2020
06:18 PM
I am using SelectHive3QL processor in my Nifi flow and it is throwing a below Kerberos authentication exception. Initially it is working fine for some time and after some Idle time, getting a below error. My requirement is "SelectHive3QL" should always up and running without any issues.
Exception:
SelectHive3QL[id=47753131-0b9a-39c4-b0e7-2a92ac1042c6] Issue processing SQL select * from egress_test where service_name = 'NDC' due to java.sql.SQLException: Could not open client transport for any of the Server URI's in ZooKeeper: GSS initiate failed.: org.apache.nifi.processor.exception.ProcessException: java.sql.SQLException: Could not open client transport for any of the Server URI's in ZooKeeper: GSS initiate failed
Cc: @MattWho , @arunak , @stevenmatison
... View more
Labels:
- Labels:
-
Apache NiFi
01-19-2020
06:03 PM
I am invoking a REST API from Nifi using InvokeHTTP processor and wanted to enable mutual certificate authentication between client (nifi) and server.
I enabled StandardRestrictedSSLContextService (controller service) as mentioned in the below screenshot and getting below exception:
InvokeHTTP[id=4a29f282-3665-3703-aab8-9e106c4aa9a4] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException
Screenshot:
Am I missing anything, kindly please explain how to enable mutual certificate based authentication?
Cc: @MattWho , @arunak
... View more
Labels:
- Labels:
-
Apache NiFi
01-12-2020
05:46 PM
Thanks Steven, I removed the hostname and it started working after I set hostname box empty.
... View more