Created 02-08-2016 06:56 PM
Hi, I'm currently working on the following tutorial : http://hortonworks.com/hadoop-tutorial/how-to-refine-and-visualize-sentiment-data/ .
I was able to execute all the steps as listed until I reached the following statement. Also I'm unable to open http://sandbox.hortonworks.com:8983/solr/banana/index.html
Now we’re going to start Solr. Execute
/opt/lucidworks-hdpsearch/solr/bin/solr start -c -z localhost:2181
Created 02-08-2016 06:57 PM
you need to add java classpath. refer to the updated steps here https://community.hortonworks.com/content/kbentry/1282/sample-hdfnifi-flow-to-push-tweets-into-solrb... @keerthana gajarajakumar
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64/opt/lucidworks-hdpsearch/solr/bin/solr start -c -z localhost:2181 /opt/lucidworks-hdpsearch/solr/bin/solr create -c tweets \ -d data_driven_schema_configs \ -s 1 \ -rf 1
Created 02-08-2016 06:57 PM
you need to add java classpath. refer to the updated steps here https://community.hortonworks.com/content/kbentry/1282/sample-hdfnifi-flow-to-push-tweets-into-solrb... @keerthana gajarajakumar
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64/opt/lucidworks-hdpsearch/solr/bin/solr start -c -z localhost:2181 /opt/lucidworks-hdpsearch/solr/bin/solr create -c tweets \ -d data_driven_schema_configs \ -s 1 \ -rf 1
Created 02-08-2016 09:24 PM
Thanks Artem. It worked.
Created 02-08-2016 07:01 PM
@zblanco @Rafael Coss it makes sense to add java classpath to your tutorial as it's a common gotcha with new users. Please refer to the Ali Bajwa's tutorial where he addressed it with JAVA_HOME
Created 02-08-2016 07:09 PM
Created 02-08-2016 07:11 PM
-- Any thoughts on this?
Created 02-08-2016 07:24 PM
do you have directory /opt/lucidworks-hdpsearch? Please refer to link I provided to install SOLR. On non Sandbox you have to install it. Just follow directions in the link, it was tested many times on latest sandbox.
Created 02-09-2016 03:57 AM
No issues with my Solr Artem. It's running fine. Thanks for your suggestions 🙂
Created 02-09-2016 02:52 AM
@keerthana gajarajakumar Hi Keerthana, I guess you have found the best answer. Please do let me know how can I help. Appreciate that you are using HCC
Created 02-09-2016 03:57 AM
Thanks Neeraj. I got it solved for now. But as I learn more I'll definietly touch base with you 🙂