Member since
03-19-2017
8
Posts
0
Kudos Received
0
Solutions
03-31-2017
01:45 AM
Thanks for responding guys. I anyway got the issue resolved by doing entry like 127.0.0.1 sandbox.hortonworks.com in C:/Windows/Sytem32/driver/etc/hosts file on my windows machine.
... View more
03-29-2017
11:23 PM
Please find attached then screenshot of PutSolrContentStream properties. Please let me know if I'm missing anything. properties.png
... View more
03-29-2017
11:22 PM
Yes, I tried that also. Alongside localhost I gave sandbox.hortonworks.com (i.e 127.0.0.1 localhost sandbox.hortonworks.com) too and then restarted the service, surprisingly it had reset again to 127.0.0.1 localhost. Not sure how can I do it.
... View more
03-29-2017
02:53 AM
Hi, I have spinned up solr through Ambari and Nifi is installed on hortonworks sandbox. When I added processor "putsolrcontentstream" it gave me an error "IOException occured when talking to server at: http://sandbox.hortonworks.com:8983/solr/tweets_shard1_replica1". My guess is that Nifi is trying to connect to http://sandbox.hortonworks.com:8983/solr/tweets_shard1_replica1 whereas tweets_shard1_replical is in below address and i can see it in my browser http://127.0.0.1:8983/solr/tweets_shard1_replica1
I checked on solr UI --> Java properties that HOST is given as sandbox.hortonworks.com and ZKHOST is given as sandbox.hortonworks.com:2181/solr
QUESTION: How to replace and where to replace sandbox.hortonworks.com with 127.0.0.1 so that I no longer get error on putsolrcontentstream processor on nifi. Attached are relevant screenshots for reference purpose. Please help. Thanks! in Advance nifi-screenshot-1.png
solr-screenshot-1.png solr-screenshot-2.png
... View more
Labels:
- Labels:
-
Apache NiFi
-
Apache Solr
03-26-2017
04:21 PM
Hi, I have spinned up solr through Ambari and Nifi is installed on hortonworks sandbox. When I added processor "putsolrcontentstream" it gave me an error "IOException occured when talking to server at: http://sandbox.hortonworks.com:8983/solr/tweets_shard1_replica1". My guess is that Nifi is trying to connect to http://sandbox.hortonworks.com:8983/solr/tweets_shard1_replica1 whereas tweets_shard1_replical is in below address and i can see it in my browser http://127.0.0.1:8983/solr/tweets_shard1_replica1 I checked on solr UI --> Java properties that HOST is given as sandbox.hortonworks.com and ZKHOST is given as sandbox.hortonworks.com:2181/solr QUESTION: How to replace and where to replace sandbox.hortonworks.com with 127.0.0.1 so that I no longer get error on putsolrcontentstream processor on nifi. Attached are relevant screenshots for reference purpose. Please help. Thanks! in Advance nifi-screenshot-1.png solr-screenshot-1.png solr-screenshot-2.png
... View more
Labels:
- Labels:
-
Apache NiFi
-
Apache Solr
03-26-2017
04:03 PM
Thanks! pbarna. I tried the suggestion you provided but it didn't work.
... View more
03-20-2017
10:35 PM
nifi-error.png Hi, I added a GetTwitter processor in Nifi and it started giving me below errors.
2017-03-19 00:40:53,125 ERROR [Timer-Driven Process Thread-7] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=e3bea5be-015a-1000-d6ab-b8ee578960b5] Received error CONNECTION_ERROR: Failed to establish connection properly. Will attempt to reconnect 2017-03-19 00:40:55,127 ERROR [Timer-Driven Process Thread-6] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=e3bea5be-015a-1000-d6ab-b8ee578960b5] Received error CONNECTION_ERROR: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty. Will attempt to reconnect.
I checked nifi-app.log and it has the same error. Note: When I'm running it on my local windows 10 laptop using localhost:9090/nifi/ it is working fine but when I'm running it on HDP Sandbox of Linux environment using link <hostip>:8080/nifi then it is giving me above error.
Attached is the screenshot of error. nifi-error.pngKindly help
... View more
Labels:
- Labels:
-
Apache NiFi
03-19-2017
05:53 PM
Hi, I added a GetTwitter processor in Nifi and it started giving me below errors. 2017-03-19 00:40:53,125 ERROR [Timer-Driven Process Thread-7] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=e3bea5be-015a-1000-d6ab-b8ee578960b5] Received error CONNECTION_ERROR: Failed to establish connection properly. Will attempt to reconnect
2017-03-19 00:40:55,127 ERROR [Timer-Driven Process Thread-6] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=e3bea5be-015a-1000-d6ab-b8ee578960b5] Received error CONNECTION_ERROR: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty. Will attempt to reconnect. I checked nifi-app.log and it has the same error. Note: When I'm running it on my local windows 10 laptop using localhost:9090/nifi/ it is working fine but when I'm running it on HDP Sandbox of Linux environment using link <hostip>:8080/nifi then it is giving me above error. Attached is the screenshot of error. nifi-error.pngKindly help
... View more
Labels:
- Labels:
-
Apache NiFi