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.

Error while importing hive Metadata in Atlas

Highlighted

Error while importing hive Metadata in Atlas

Explorer

Hi,

I'm trying to import Hive metadata in Atlas and I'm getting NoClassFoundError

Please find attached Log File.

Please help.

Thank youerror.txt

@Ayub Khan please help

9 REPLIES 9
Highlighted

Re: Error while importing hive Metadata in Atlas

Expert Contributor

@Hitesh Rajpurohit

which hdp version are you using ?

Highlighted

Re: Error while importing hive Metadata in Atlas

Explorer

Hi Nixon,

I'm using HDP2.6

Re: Error while importing hive Metadata in Atlas

Rising Star

I think there some classpath issue when the script is being executed. Can you provide the value of classpath and variables ?

Highlighted

Re: Error while importing hive Metadata in Atlas

Explorer

Hi Anaik

This is my classpath value

/usr/hdp/2.6.0.3-8/hadoop/conf:/usr/hdp/2.6.0.3-8/hadoop/lib/*:/usr/hdp/2.6.0.3-8/hadoop/.//*:/usr/hdp/2.6.0.3-8/hadoop-hdfs/./:/usr/hdp/2.6.0.3-8/hadoop-hdfs/lib/*:/usr/hdp/2.6.0.3-8/hadoop-hdfs/.//*:/usr/hdp/2.6.0.3-8/hadoop-yarn/lib/*:/usr/hdp/2.6.0.3-8/hadoop-yarn/.//*:/usr/hdp/2.6.0.3-8/hadoop-mapreduce/lib/*:/usr/hdp/2.6.0.3-8/hadoop-mapreduce/.//*::jdbc-mysql.jar:mysql-connector-java-5.1.17.jar:mysql-connector-java-5.1.37.jar:mysql-connector-java.jar:/usr/hdp/2.6.0.3-8/tez/*:/usr/hdp/2.6.0.3-8/tez/lib/*:/usr/hdp/2.6.0.3-8/tez/conf

can you tell me what you mean by variables?

Thank you

Highlighted

Re: Error while importing hive Metadata in Atlas

Rising Star

On linux it's usually the output of the "env" command

Highlighted

Re: Error while importing hive Metadata in Atlas

Rising Star

And I'm assuming that you're using the import-hive.sh script for doing the import.

Highlighted

Re: Error while importing hive Metadata in Atlas

Rising Star

By variable I meant the output of the "env" command on a linux/mac environment.

Highlighted

Re: Error while importing hive Metadata in Atlas

Explorer

Hi Anaik, Please find attached file for value of variables. variables.txt

Thank you

Highlighted

Re: Error while importing hive Metadata in Atlas

Explorer

@anaik Please can you help me here.

Thank you

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