Reputation: 179
I have a simple question, as I am new to NiFi.
I have a GetTwitter processor set up and configured (assuming correctly). I have the Twitter Endpoint set to Sample Endpoint. I run the processor and it runs, but nothing happens. I get no input/output
How do I troubleshoot what it is doing (or in this case not doing)?
Upvotes: 1
Views: 881
Reputation: 21561
In general I suppose this topic can be debugged by setting the loglevel to DEBUG. However, in my case the issue was resolved more easily:
I just set up a new cluster, and decided to copy all twitter keys and secrets to notepad first.
It turns out that despite carefully copying the keys from twitter, one of them had a leading tab. When pasting directly into the GetTwitter processer, this would not show, but fortunately it showed up in notepad and I was able to remove it and make this work.
Upvotes: 0
Reputation: 23236
In my case its because there are two sensitive values set. According to the documentation when a sensitive value is set, the nifi.properties
file's nifi.sensitive.props.key
value must be set - it is an empty string by default using HortonWorks DataPlatform distribution. I set this to some random string (literally random_STRING
but you can use anything) and re-created my process from the template and it began working.
Upvotes: 0
Reputation: 11931
A couple things you might look at:
It might also help us help you if you describe the GetTwitter Property settings a bit more. Can you share a screenshot (minus keys)?
Upvotes: 2