Support Questions

Find answers, ask questions, and share your expertise

Getting Error IOException occured when talking to server at: http://sandbox.hortonworks.com:8983/solr/tweets_shard1_replica1 on putsolrcontentstream processor on nifi

avatar

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


solr-screenshot-2.pngsolr-screenshot-1.png
1 REPLY 1

avatar

Did you add the collection name to the properties in the PutSolrContentStream processor? what are the other properties you have in there?