- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Query not Showing in the Nifi Twitter Demo
Created on ‎03-26-2016 03:04 PM - edited ‎08-19-2019 12:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Scott, can you confirm creating the tweets topic was successful
Created ‎03-26-2016 04:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On the query page, if you hit execute query, does anything return?
Created ‎03-26-2016 05:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
{ "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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is the output
Created ‎03-26-2016 05:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
