Support Questions

Find answers, ask questions, and share your expertise

Query not Showing in the Nifi Twitter Demo

avatar

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.

3011-tweetcollection.png

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:

3012-2016-03-26-10-05-34.png

1 ACCEPTED SOLUTION

avatar

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.

View solution in original post

5 REPLIES 5

avatar
Master Mentor

Scott, can you confirm creating the tweets topic was successful

avatar
Master Mentor

On the query page, if you hit execute query, does anything return?

avatar

{ "responseHeader": { "status": 0, "QTime": 1, "params": { "indent": "true", "q": "*:*", "_": "1459012844714", "wt": "json" } }, "response": { "numFound": 0, "start": 0, "docs": [] } }

avatar

Here is the output

3014-2016-03-26-11-37-35.png

avatar

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.