Created on 11-04-2014 11:35 AM - edited 09-16-2022 02:11 AM
I have installed a single node instance on a m3.2xlarge AWS EC2 Instance with EBS so I can stop and start it (using the very nice http://gethue.com/hadoop-tutorial-how-to-create-a-real-hadoop-cluster-in-10-minutes/). I am trying to use it to test a solr implementation that I have. I have used the CDH 5.2 (Cloudera Express) installer my cluster is all green. I can launch Solr and it seems good though no clusters are installed.
I receive the following error message when I try to install the Hue - Quick Start application samples for Solr Search on the Hue Quick Start Tab Step 2 Examples. "Could not create instance directory. Check if [indexer] solr_zk_ensemble is correct in Hue config and look at the Solr error logs for more info".
I have tried to changing the Hue configuration with the Hue Server Configuration Advanced Configuration Snippet for hue_safety_valve_server.ini to:
[search]
## URL of the Solr Server
solr_url=http://SOLR_HOST:8983/solr
and I get the following message: [Errno 13] Permission denied: '/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/desktop/libs/indexer/src/indexer/../data/collections'
I also tried using
## URL of the Solr Server
solr_url=http://<AWS Public DNS> SOLR_HOST:8983/solr
in the Hue configuration and I get the following: "Could not create instance directory. Check if [indexer] solr_zk_ensemble is correct in Hue config and look at the Solr error logs for more info" the same as not configuring this parameter.
I was able to install this on Ubantu 14 Trusty and somehow was able to get it to install but I could not stop and start the AWS instance... it trashed the HDFS service so that it was unusable.
Any suggestions would be appreciated.