Support Questions
Find answers, ask questions, and share your expertise

Hortonworks 2.4.2 + Hue 3.11 + Ubuntu 14.04 + HDP Search

Hortonworks 2.4.2 + Hue 3.11 + Ubuntu 14.04 + HDP Search

New Contributor

Hi,

HDP is installed using ambari.

Hue is installed manually using http://gethue.com/hadoop-hue-3-on-hdp-installation-tutorial/ + a few steps (libffi-dev,libgmp3-dev,add hue user). HBase explorer is working fine. OOzie view + workflow edit works fine.

HDP search was installed manually using https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_hdp_search/content/ch_hdp-search-install... for Ubuntu 14.04. Solr server starts and says Happy searching

Tried configuring HDP search using the link https://gist.github.com/abajwa-hw/86ec17a6f0b3542fd4a9. Hbase indexer fails with error Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.conf.Configuration.addDeprecations([Lorg/apache/hadoop/conf/Configuration$DeprecationDelta;)V at org.apache.hadoop.mapreduce.util.ConfigUtil.addDeprecatedKeys(ConfigUtil.java:54) at org.apache.hadoop.mapreduce.util.ConfigUtil.loadResources(ConfigUtil.java:42) at org.apache.hadoop.mapred.JobClient.<clinit>(JobClient.java:163) at com.ngdata.hbaseindexer.master.IndexerMaster.getJobClient(IndexerMaster.java:191) at com.ngdata.hbaseindexer.master.IndexerMaster.start(IndexerMaster.java:154) at com.ngdata.hbaseindexer.Main.startZooKeeperDependentServices(Main.java:140) at com.ngdata.hbaseindexer.Main.startServices(Main.java:107) at com.ngdata.hbaseindexer.Main.run(Main.java:99) at com.ngdata.hbaseindexer.Main.main(Main.java:87)

Uploaded csv file to HDFS. Using Hue Search App tried to create an index. Got following error

{ "message": "{\"responseHeader\":{\"status\":400,\"QTime\":16135},\"error\":{\"metadata\":[\"error-class\",\"org.apache.solr.common.SolrException\",\"root-error-class\",\"org.apache.solr.common.cloud.ZooKeeperException\"],\"msg\":\"Error CREATEing SolrCore 'abcde': Unable to create core [abcde] Caused by: Could not find configName for collection abcde found:[myCollConfigs, myCollConfigs9, patient1, myCollConfigs6, myCollConfigs5, myCollConfigs8]\",\"code\":400}}\n (error 400)", "traceback": [ [ "/usr/local/hue/desktop/libs/libsolr/src/libsolr/api.py", 541, "create_core", "response = self._root.post('admin/cores', params=params, contenttype='application/json')" ], [ "/usr/local/hue/desktop/core/src/desktop/lib/rest/resource.py", 132, "post", "allow_redirects=allow_redirects, clear_cookies=clear_cookies)" ], [ "/usr/local/hue/desktop/core/src/desktop/lib/rest/resource.py", 81, "invoke", "clear_cookies=clear_cookies)" ], [ "/usr/local/hue/desktop/core/src/desktop/lib/rest/http_client.py", 173, "execute", "raise self._exc_class(ex)" ] ], "detail": null, "title": "Error while accessing Solr" }

Looks like a configuration issue. Any help or suggestions will be great!

Best Regards,

Vishal

1 REPLY 1

Re: Hortonworks 2.4.2 + Hue 3.11 + Ubuntu 14.04 + HDP Search

Rising Star

Hi @vishal vpv,

By the time, could you be able to find a solution for your problem?

Most probably it is a Zookeeper directory issue but I couldn't get over yet. I'd be glad if you can share your later experience.