The option where you have specified datatype char and varchar was introduced in Hive 12 and Hive 13. For Hive 11, there is only String as datatype. It seems the exception is caused because of this “Exception in thread “main” java.lang.NoSuchMethodError: com.cloudera.sqoop.SqoopOptions.getHCatTableName()Ljava/lang/String”
-Dteradata.db.input.target.table.schema=”R_REGIONKEY int, R_NAME char, R_COMMENT varchar”
Refer below link and when you search for ‘String Types’, you would see the same that I have commented above.
You would also need MapReduceYarn on the cluster since Sqoop would use MapReduce/Yarn to perform the import from teradata to hive.