Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

import-hive.sh failed

import-hive.sh failed

New Contributor

I have two host which A and B

hive installed on A.

I download the source of atlas to B and build it with embedded solr and hbase.

I start the atlas server on B success.

then I copy the apache-atlas-${project.version}-bin.tar.gz file to A.

unzip the file.

copy the atlas-application.properties to HIVE_CONF_DIR. and change atlas.kafka.zookeeper.connect=B:9026

then set hive-site.xml and hive-env.sh according to http://atlas.apache.org/Hook-Hive.html.

then run apache-atlas-${project.version}/bin/import-hive.sh, the script file is failed.

ERROR: java.lang.ClassNotFoundException: org.apache.hadoop.hive.ql.metadata.Hive.

Does atlas support install the different host to hive? or Some thing I do wrong? Pls Help!

3 REPLIES 3
Highlighted

Re: import-hive.sh failed

@Helios He Have you tried running hive-import.sh from B? If not please do so.

Highlighted

Re: import-hive.sh failed

New Contributor

I find the reason, my HIVE_HOME is wrong. but when i fix it, the ERROR change to com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused (Connection refused)。

Highlighted

Re: import-hive.sh failed

New Contributor

@Felix Albani B have no hive env, it did not work.

Don't have an account?
Coming from Hortonworks? Activate your account here