All Forums Hadoop
09 Mar 2015
exporting hive table to teradata table using teradata hadoop connector

Hi all,
I am trying to export data hive table to teradata table, Below is the command

hadoop com.teradata.hadoop.tool.TeradataExportTool

-url jdbc:teradata://testsystem/database=testdb

-username testuser

-password testpassword

-jobtype hive

-fileformat textfile

-sourcedatabase database_example

-sourcetable example5_hive

-nummappers 1 -targettable example5_td 


i mentioned all details accurately


i have added all jars to the classpath.

But i am getting the exception 


Error: java.lang.ClassNotFoundException: org.apache.hadoop.hive.serde2.SerDeException



        at Method)

        at 354)

        at java.lang.ClassLoader.loadClass(

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.ja va:308)

        at java.lang.ClassLoader.loadClass(

        at com.teradata.hive.mapreduce.TeradataHiveCombineFileRec ordReader.<init>(TeradataHiveCombineFileRecordReader.j ava:67)

        at com.teradata.hive.mapreduce.TeradataHiveCombineFileInp utFormat.createRecordReader(TeradataHiveCombineFileInp

        at org.apache.hadoop.mapred.MapTask$NewTrackingRecordRead er.<init>(

        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask. java:735)


        at org.apache.hadoop.mapred.YarnChild$ a:167)

        at Method)



        at org.apache.hadoop.mapred.YarnChild.main( :162)


I dont understand why the hell it is throwing this exception?

Can anyone help me resolving this issue?



ajaykumar.d35 1 post Joined 03/15
11 Mar 2015

I am here to resolve your question. Ask me whatever you want.

11 Mar 2015

dow u have an idea about export parquet format data in hive partitioned table to teradata table using teradata hadoop connector?

You must sign in to leave a comment.