Troubleshooting for Hue-Solr Integration
Troubleshooting: Cloudera Hue not able to access Solr collections through Search tab assuming both are set up with CDH4
Solution
-
Open hue.ini file that you are using and check if Solr URL is correctly mentioned there or not
-
Go to its configuration UI page (http://localhost:8888/dump_config) and check the configuration for search.
-
Make sure /etc/hue/hue.ini file must have URL of the Solr Server
solr_url=http://<solr server name>:8983/solr/
-
-
Go to the file /etc/default/solr and check whether you have below section uncommented
SOLR_SECURITY_ALLOWED_PROXYUSERS=hue SOLR_SECURITY_PROXYUSER_hue_HOSTS=* SOLR_SECURITY_PROXYUSER_hue_GROUPS=*
This allows hue user to access solr collections as proxy users.
-
Check if solr service is running. If you have made any change you can restart both the services to be on safer side
sudo service solr-server status sudo service solr-server restart sudo service hue restart
Then if you click on the search button you should be able to see all your solr collections ready to be imported
References
About the Author
-
As of April, 2015 I have around 10 years of IT experience, all in development track with J2EE technology stack (Struts, Spring, JMS, JPA, EJB)and Content Management (FileNet). My recent tryst with Hadoop ecosystem opens up altogether a different world to me. How I am poaching (for failing to poach) time from my grueling delivery schedule of my employer now becomes a really interesting hide and seek game for me. But soon I will be setting up CDH at my workplace and engage in a client POC.
Find me on