Member since
04-29-2016
192
Posts
20
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1642 | 07-14-2017 05:01 PM | |
2784 | 06-28-2017 05:20 PM |
04-21-2017
01:16 PM
thank you @Bryan Bende, for the explanation and for clarifying.
... View more
06-11-2018
01:01 PM
Hi, How did you solve the issue with " Unable to validate the access token. "
... View more
04-29-2019
01:14 PM
Hi, I am able to successfully access the /nifi-api/tenants/user-groups rest API using curl with --insecure option. But I get 403 error for an equivalent code in Java. Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: https://localhost:8080/nifi-api/tenants/user-groups Could you please advice? Java code: url = new URL(endPoint);
conn = (HttpsURLConnection) url.openConnection();
conn.setSSLSocketFactory(sslsocketfactory);
conn.setDoInput(true);
conn.setDoOutput(true);
conn.setRequestMethod("GET");
conn.setRequestProperty("Accept-Encoding", "gzip, deflate, br");
conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
conn.setRequestProperty("Accept", "*/*");
conn.setRequestProperty("Authorization", "Bearer " + "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjbj1uaWZpLWFkbWluLG91PXVzZXJzLGRjPWV4YW1wbGUsZGM9b3JnIiwiaXNzIjoiTGRhcFByb3ZpZGVyIiwiYXVkIjoiTGRhcFByb3ZpZGVyIiwicHJlZmVycmVkX3VzZXJuYW1lIjoibmlmaS1hZG1pbiIsImtpZCI6NSwiZXhwIjoxNTU2NTQ5NDkzLCJpYXQiOjE1NTY1MDYyOTN9.arWkNU_4K0VWc_v-FgERgjcNeU8-EjpyOP74-4pHkHs");
bufferedreader = new BufferedReader(new InputStreamReader(new GZIPInputStream(conn.getInputStream())));
String response;
while ((response = bufferedreader.readLine()) != null) {
System.out.println("Response = " + response);
}
... View more
03-28-2017
06:55 PM
thanks @Bryan Bende, our Java Developer is looking into the custom code
... View more
03-23-2017
03:12 PM
@Matt Clarke thank you, it worked perfectly. And thanks for the explanation as well. In the post I was using as reference, both instances were hosted on the same machine, so I couldn't quite figure out this difference that you elaborated on.
... View more
05-27-2019
09:48 AM
@Sumit Das in my case, the problem was that Hive was not properly configured to support streaming. Basically transactions must be enabled but some others properties must be set as well. More info here: https://community.hortonworks.com/articles/49949/test-7.html The table must also respect some conditions (stored as ORC, transactional, bucketed).
... View more
02-15-2018
07:41 AM
Hi @spdvnz @Raj B , Can you let me know how were you able to grab the failures eventually? I've tried storing the bulletin board messages in hdfs using the REST API but the Json generated from there is very detailed and would require a lot of work before I can use it for monitoring purpose. Would like to know how you guys did it? Here is the link to the actual question https://community.hortonworks.com/questions/171150/monitoring-nifi-flow-file-failures-success-1.html
... View more
03-17-2017
04:46 PM
Great answer like usual ! Just tested your suggestion and it works perfectly ! Thank you so much !
... View more
03-09-2017
02:51 PM
thanks @Artem Ervits, I'll give it a shot
... View more
03-10-2017
05:36 PM
Hi @Ryan Cicak, I checked the metastore URI, it was not correct, so I fixed that, but now I'm getting a different error; no Kerberos on my setup; and our HDP is HA This error is similar to what @Matt Burgess pointed to as an issue at onetime in the past - NIFI-2873, but that issue should be resolved in NiFi 1.1.0 and above; I am trying this in NiFi 1.1.2, but still same issue as pre-1.1.0 Any thoughts ??
... View more