Sqoop Export Job In Oozie on BDA Fails With"'Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1], No such sqoop tool: sqoop" (Doc ID 1573543.1)

Last updated on APRIL 14, 2016

Applies to:

Big Data Appliance Integrated Software - Version 2.0.1 and later
Linux x86-64

Symptoms

Running a Sqoop export from HDFS to a relational database using a Sqoop action through an Oozie workflow fails with the error below as presented in the TaskTracker log file:

From TaskTracker Log:

>>> Invoking Sqoop command line now >>>
1043 [main] WARN org.apache.sqoop.tool.SqoopTool - $SQOOP_CONF_DIR has not been set in the environment. Cannot check for additional configuration.
Intercepting System.exit(1)
<<< Invocation of Main class completed <<<

Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]
Oozie Launcher failed, finishing Hadoop job gracefully
Oozie Launcher ends

stderr logs
No such sqoop tool: sqoop. See 'sqoop help'.
Intercepting System.exit(1)
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms