hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Preya Shah <preya.2.s...@gmail.com>
Subject Oozie workflow for Sqoop Incremental update
Date Thu, 02 Oct 2014 21:09:50 GMT
Hi I am trying to get updated or newly added data from relational database
using Sqoop. Sqoop command is working fine but when I try to execute it
through the oozie workflow it does not work.

It is giving me below error:
Main class [org.apache.oozie.action.hadoop.SqoopMain], exit code [1]

*workflow.xml file*

<workflow-app xmlns="uri:oozie:workflow:0.2" name="ooziedemo-wf">
    <start to="sqoopIncrImport"/>

    <!-- Sqoop Action for Incremental Import -->
    <action name="sqoopIncrImport">
        <sqoop xmlns="uri:oozie:sqoop-action:0.2">
               <delete path="${nameNode}/user/abc/incr/TEST"/>
       <ok to="end"/>
       <error to="fail"/>
        <kill name="fail">
        <message>Workflow failed, error
   <end name="end"/>

Can anyone please help me resolving this issue?

Thanks in advance.

View raw message