Member since
02-18-2016
10
Posts
10
Kudos Received
0
Solutions
02-24-2016
06:49 AM
1 Kudo
Thanks for your help, after regenerating both Consumer Key and Access Token and my Host PC date was 2 min off, updated that as well. After all the changes, nifi is working. Thanks again @Neeraj Sabharwal and @Artem Ervits.
... View more
02-18-2016
07:15 PM
1 Kudo
@Neeraj Sabharwal, I did follow the article above, and still got the same error. Only change is I am using JAVA_HOME as export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64/jre as to in the article it was export JAVA_HOME=/usr/jdk64/jdk1.8.0_60/jre/ anything else I am missing, please let me know.
... View more
02-18-2016
05:59 PM
1 Kudo
Here is the log that I got from nifi-app.log
2016-02-19
17:54:54,015 WARN [hosebird-client-io-thread-0]
com.twitter.hbc.httpclient.ClientBase
GetTwitter[id=ba6e756b-3f65-4fce-b551-8b2e7cef9864] Error connecting w/
status code - 401, reason - Authorization Required
2016-02-19
17:55:35,983 ERROR [Timer-Driven Process Thread-2]
o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=ba6e756b-3f65-4fce-b551-8b2e7cef9864] Received error
HTTP_ERROR: HTTP/1.1 401 Authorization Required. Will attempt to
reconnect 2016-02-19 17:55:36,225 INFO [NiFi Web Server-62]
o.a.n.c.s.TimerDrivenSchedulingAgent Stopped scheduling
GetTwitter[id=ba6e756b-3f65-4fce-b551-8b2e7cef9864] to run
2016-02-19
17:55:36,230 INFO [pool-26-thread-2]
com.twitter.hbc.httpclient.ClientBase
GetTwitter[id=ba6e756b-3f65-4fce-b551-8b2e7cef9864] exit event - Stopped
by user: waiting for 5000 ms
2016-02-19 17:55:36,735 INFO [Flow
Service Tasks Thread-2] o.a.nifi.controller.StandardFlowService Saved
flow controller org.apache.nifi.controller.FlowController@11fcf772 //
Another save pending = fals
... View more
02-18-2016
05:25 PM
1 Kudo
Thanks @Artem Ervits, for the quick reach. I did tried coping pasting several times, making sure I dint miss out on anything. I even tried coping it to Notepad and then coping it back to Nifi. Still no luck.
... View more
02-18-2016
12:18 AM
2 Kudos
Hi, I am having the same problem, and I tried regenerating the keys and token also deleting the Twitter App and re-creating it. Still getting same error. HTTP_ERROR: HTTP/1.1 401 authorization Required. will attempt to reconnect. ? After few attempts the processor stops running by final error as "STOPPED BY ERRORL Retries exhausted due to null. Will not attempt to reconnect" Please helps
... View more