[ 
https://issues.apache.org/jira/browse/OOZIE-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mpopa resolved OOZIE-2384.
--------------------------
    Resolution: Fixed

sorry, right after submitting I found the problem, it was me using an external 
file to define the sqoop params. I have just copied the params over to the 
workflow file and the import was successful.
Maybe a bit better logging would be helpful and would avoid you being bugged 
for no good reason:)

 

> 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)

Reply via email to