Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
03-26-2016
03:04 PM
- last edited on
04-21-2026
05:32 AM
by
GrazittiAPI
I've successfully setup the Nifi Twitter demo before but recently started from scratch using the HDP 2.4 sandbox. Twitter data is coming in and persisting to HDFS. I've setup the Banana dashboard but I never see any data. What I'm noticing is when I navigate to http://sandbox.hortonworks.com:8983/solr/#/tweets_shard1_replica1/query there is no query displayed.
Any suggestions on how to get the query to install? I've ran all the steps without any errors and have restarted HDP Search. Navigating to http://sandbox.hortonworks.com:8983/solr/tweets_shard1_replica1/select?q=*:* gives me this:
Created 03-26-2016 05:43 PM
I found the problem. I must have missed the step "chown -R solr:solr /opt/lucidworks-hdpsearch/solr". Once I did this the query worked but still did not see tweets in the dashboard. I deleted the collection and reloaded it. After that data started to appear.
Created 03-26-2016 03:57 PM
Scott, can you confirm creating the tweets topic was successful
Created 03-26-2016 04:55 PM
On the query page, if you hit execute query, does anything return?
Created 03-26-2016 05:19 PM
{ "responseHeader": { "status": 0, "QTime": 1, "params": { "indent": "true", "q": "*:*", "_": "1459012844714", "wt": "json" } }, "response": { "numFound": 0, "start": 0, "docs": [] } }
Created on 03-26-2016 04:37 PM - edited 08-19-2019 12:53 AM
Here is the output
Created 03-26-2016 05:43 PM
I found the problem. I must have missed the step "chown -R solr:solr /opt/lucidworks-hdpsearch/solr". Once I did this the query worked but still did not see tweets in the dashboard. I deleted the collection and reloaded it. After that data started to appear.