Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

SOLR / NIFI : How to resolve? bash: solr: command not found

avatar
Expert Contributor

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
1 ACCEPTED SOLUTION

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
9 REPLIES 9

avatar
Master Mentor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Expert Contributor

Thanks Artem. It worked.

avatar
Master Mentor

@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

avatar
Expert Contributor

avatar
Expert Contributor
@Neeraj Sabharwal

-- Any thoughts on this?

avatar
Master Mentor

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.

  1. yum install -y lucidworks-hdpsearch
  2. sudo -u hdfs hadoop fs -mkdir /user/solr
  3. sudo -u hdfs hadoop fs -chown solr /user/solr

avatar
Expert Contributor

No issues with my Solr Artem. It's running fine. Thanks for your suggestions 🙂

avatar
Master Mentor

@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

avatar
Expert Contributor

Thanks Neeraj. I got it solved for now. But as I learn more I'll definietly touch base with you 🙂