I am using hortonworks sandbox with HDP 2.3.2 and i have created workflow in hue to sqoop from postgresql data to hive, but i am encountering an error like “Main class[org.apache.oozie.action.hadoop.SqoopMain],exit code[1]”
Note:
1, this is my sqoop action – import –connect jdbc:postgresql ://ipaddress/DBname –username postg –password ooo –table “A” –hive-import –hive-table pa -m 1
2, I have put the PostgreSQL jar as well as the hive-site(hive-config) file in hue workspace (hdfs/user/hue/oozie/workspace…..)
i have seen this error in many forums and none has come up with a proper solution..
please advise me how to troubleshoot this error…
any workarounds will be a great help..