TDCH Export to move data from Hive Parquet table into Teradata - missing class

Tools & Utilities
Highlighted
Teradata Employee

TDCH Export to move data from Hive Parquet table into Teradata - missing class

Hey TDCH experts, I'm facing the issue class not found.

 

My command (Version 1.5.5):

hadoop jar $USERLIBTDCH com.teradata.connector.common.tool.ConnectorExportTool -libjars $LIB_JARS -url jdbc:teradata://$server/database=$target_database -username sysdba -password $password -jobtype hive -fileformat parquet -sourcedatabase $source_database -sourcetable $source_table -nummappers 1 -targettable $target_table

 

Error message when map reduce job starts:

19/03/27 16:20:41 INFO mapreduce.Job: Task Id : attempt_1553156784343_15247_m_000000_2, Status : FAILED

Error: java.lang.ClassNotFoundException: org.apache.parquet.hadoop.util.ContextUtil

        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

        at com.teradata.connector.hive.HiveParquetFileRecordReader.initialize(HiveParquetFileRecordReader.java:72)

        at com.teradata.connector.common.ConnectorCombineInputFormat$ConnectorCombineFileRecordReader.initialize(ConnectorCombineInputFormat.java:376)

        at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:554)

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

        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)

        at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)

        at java.security.AccessController.doPrivileged(Native Method)

        at javax.security.auth.Subject.doAs(Subject.java:422)

        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1924)

        at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

 

When I'm looking into the jar file:

/opt/cloudera/parcels/CDH/lib/hive/lib/parquet-hadoop-bundle.jar

I can find the class:

parquet/hadoop/util/

parquet/hadoop/util/ContextUtil.class

 

Who has an idea for fixing the bug?

 

Thanks

Jim