You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "mpopa (JIRA)" <ji...@apache.org> on 2015/10/05 18:09:26 UTC
[jira] [Created] (OOZIE-2384) cannot run a sqoop import job
mpopa created OOZIE-2384:
----------------------------
Summary: cannot run a sqoop import job
Key: OOZIE-2384
URL: https://issues.apache.org/jira/browse/OOZIE-2384
Project: Oozie
Issue Type: Bug
Affects Versions: 4.2.0
Environment: hortonworks 2.3 sandbox
Reporter: mpopa
I have sqoop job to extract data from a db2 database. It works fine when sqoop is invoked directly but fails when invoked from an oozie job.
The only error I see is:
Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]
I am using the hortonworks 2.3 sandbox which comes with oozie 4.2 pre-installed.
I've looked around and the majority of the suggestions were related to the share lib.
I do have "oozie.use.system.libpath=true" set in my job properties file.
I also do have the lib directory under /user/oozie/share/ in HDFS. I initially had a lib_timestamp directory, but I copied the underlying directories directly in the lib directory as well.
The oozie install document talks about a oozie-sharelib.tar.gz that needs to be copied over to hdfs and overwrite any pre-installed share directory but the latest versions (4.2 and 4.1) do not contain such an archive.
I have also copied the db2jcc.jar driver jar in the /user/oozie/share/lib _and_ in the /user/oozie/test/sqoop-test directory where my job files are.
Any help would be really appreciated
regards,
mihai
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)