Created on 03-26-2016 03:04 PM - edited 08-19-2019 12:54 AM
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.