Hi,

I am trying to run the Tez job for importing data from postgres database to
Hive table via Sqoop command and continuously seeing Tez jobs getting
failed. Below is the Sqoop command:



sqoop import --connect jdbc:postgresql://************.
us-east-1.rds.amazonaws.com:5432/newdb --table t1 --username ****
--password ***** --direct --hive-import --hive-overwrite --split-by id
--verbose



At the end, Tez purposely kills the yarn job because it cannot connect to
the AM with the below INFO statement :

17/07/20 05:33:56 INFO client.TezClient: Shutting down Tez Session,
sessionName=HIVE-0a1c30f0-4ab5-4bf1-9b98-79d462deb53d,
applicationId=application_1495052092751_127259

17/07/20 05:33:56 INFO client.TezClient: Could not connect to AM, killing
session via YARN, sessionName=HIVE-0a1c30f0-4ab5-4bf1-9b98-79d462deb53d,
applicationId=application_1495052092751_127259



I am able to get my data to Hive but can see a lot of above errors which
are annoying. Do we have any workaround or a way to suppress these errors?


Thanks & Regards!

Reply via email to