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

Error while importing hive Metadata in Atlas

New Contributor

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

Re: Error while importing hive Metadata in Atlas

Expert Contributor

@Hitesh Rajpurohit

which hdp version are you using ?

Re: Error while importing hive Metadata in Atlas

New Contributor

Hi Nixon,

I'm using HDP2.6

Highlighted

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 ?

Re: Error while importing hive Metadata in Atlas

New Contributor

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

Re: Error while importing hive Metadata in Atlas

Rising Star

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

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.

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.

Re: Error while importing hive Metadata in Atlas

New Contributor

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

Thank you

Re: Error while importing hive Metadata in Atlas

New Contributor

@anaik Please can you help me here.

Thank you