<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question if I want to run sqoop-action oozie and oozie failed action 3 how to rerun oozie from there? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152574#M115041</link>
    <description>&lt;P&gt;I am using Oozie sqoop action and I want to run 100 same tables everyday hive-import from Netezza to hive. my query runs fine with Oozie workflow Sqoop action. I using hive-overwrite table every time. &lt;/P&gt;&lt;P&gt;(1)my question is if I can specify 100 action in one workflow.xml and failed after 10 action so when I want to rerun the workflow on specific failed node how to do?&lt;/P&gt;&lt;P&gt;(2) if I can specify 1 sqoop action in one workflow so may be i jave 100 workflow for each action which is the best approach.&lt;/P&gt;&lt;P&gt;if we want to rerun oozie job specific failed node can you please give me sample workflow.xml looks like? I really appreciated &lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2016 20:26:34 GMT</pubDate>
    <dc:creator>vijaysvnit2005</dc:creator>
    <dc:date>2016-04-01T20:26:34Z</dc:date>
    <item>
      <title>if I want to run sqoop-action oozie and oozie failed action 3 how to rerun oozie from there?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152574#M115041</link>
      <description>&lt;P&gt;I am using Oozie sqoop action and I want to run 100 same tables everyday hive-import from Netezza to hive. my query runs fine with Oozie workflow Sqoop action. I using hive-overwrite table every time. &lt;/P&gt;&lt;P&gt;(1)my question is if I can specify 100 action in one workflow.xml and failed after 10 action so when I want to rerun the workflow on specific failed node how to do?&lt;/P&gt;&lt;P&gt;(2) if I can specify 1 sqoop action in one workflow so may be i jave 100 workflow for each action which is the best approach.&lt;/P&gt;&lt;P&gt;if we want to rerun oozie job specific failed node can you please give me sample workflow.xml looks like? I really appreciated &lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 20:26:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152574#M115041</guid>
      <dc:creator>vijaysvnit2005</dc:creator>
      <dc:date>2016-04-01T20:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: if I want to run sqoop-action oozie and oozie failed action 3 how to rerun oozie from there?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152575#M115042</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3144/vijaysvnit2005.html" nodeid="3144"&gt;@mike pal&lt;/A&gt; - Good question!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For case number 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. Find out the WF id of the failed/killed job.&lt;/P&gt;&lt;P&gt;2. Prepare
a job config file which needs to be passed to the rerun command. To do so
Follow below steps:&lt;/P&gt;&lt;P&gt;2.1 You first need the oozie job
     configuration xml file. The easiest way to do that is to use the
     -configcontent option of the oozie job command. E.g. On
     commandline&lt;/P&gt;&lt;PRE&gt;export OOZIE_URL="http://&amp;lt;oozie-host&amp;gt;:11000/oozie"
oozie job -configcontent &amp;lt;workflow-id&amp;gt; &amp;gt; job_conf.xml&lt;/PRE&gt;&lt;P&gt;2.2 Delete
     oozie.coord.application.path property from job_conf.xml. This is to avoid  E0301: Invalid
     resource oozie rerun error.&lt;/P&gt;&lt;P&gt;2.3 Now
add below property in job_conf.xml. This determines what
actions need to be run in the workflow. If we specify specific action nodes
here then it will skip those actions. if nothing specified then it will run all
actions of the workflow.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To run all actions of a workflow:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt; 
&amp;lt;name&amp;gt;oozie.wf.rerun.skip.nodes&amp;lt;/name&amp;gt; 
&amp;lt;value&amp;gt;,&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;To skip
few actions of a workflow ( all the action nodes specified here will be
skipped and the rest will be run &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt; 
&amp;lt;name&amp;gt;oozie.wf.rerun.skip.nodes&amp;lt;/name&amp;gt; 
&amp;lt;value&amp;gt;action-name1,action-name2,etc.&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;3. Re-run wf with below command&lt;/P&gt;&lt;PRE&gt;oozie job -config "job_conf.xml" -rerun &amp;lt;wf-id&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Apr 2016 21:59:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152575#M115042</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-04-01T21:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: if I want to run sqoop-action oozie and oozie failed action 3 how to rerun oozie from there?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152576#M115043</link>
      <description>&lt;P&gt;Thanks you so much !&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 22:56:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152576#M115043</guid>
      <dc:creator>vijaysvnit2005</dc:creator>
      <dc:date>2016-04-01T22:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: if I want to run sqoop-action oozie and oozie failed action 3 how to rerun oozie from there?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152577#M115044</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3144/vijaysvnit2005.html" nodeid="3144"&gt;@mike pal - Please accept the appropriate answer.&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2016 13:09:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/if-I-want-to-run-sqoop-action-oozie-and-oozie-failed-action/m-p/152577#M115044</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-18T13:09:01Z</dc:date>
    </item>
  </channel>
</rss>

