<?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 Re: Does anyone have an example of custom oozie action executor? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145226#M107794</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;&lt;P&gt;&lt;A href="http://www.infoq.com/articles/ExtendingOozie" target="_blank"&gt;http://www.infoq.com/articles/ExtendingOozie&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2016 03:07:30 GMT</pubDate>
    <dc:creator>jyadav</dc:creator>
    <dc:date>2016-05-13T03:07:30Z</dc:date>
    <item>
      <title>Does anyone have an example of custom oozie action executor?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145225#M107793</link>
      <description>&lt;P&gt;I'd like to follow an example to write my own custom oozie action. &lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 03:04:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145225#M107793</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-05-13T03:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have an example of custom oozie action executor?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145226#M107794</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;&lt;P&gt;&lt;A href="http://www.infoq.com/articles/ExtendingOozie" target="_blank"&gt;http://www.infoq.com/articles/ExtendingOozie&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 03:07:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145226#M107794</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-13T03:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have an example of custom oozie action executor?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145227#M107795</link>
      <description>&lt;P&gt;To be more specific, we need an example of Oozie custom asynchronous action. &lt;A rel="user" href="https://community.cloudera.com/users/220/smayani.html" nodeid="220"&gt;@Saumil Mayani&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10221/sjain292.html" nodeid="10221"&gt;@Saurabh Jain&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/64/cnormile.html" nodeid="64"&gt;@cnormile&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 21:02:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145227#M107795</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-07-08T21:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have an example of custom oozie action executor?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145228#M107796</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;, we use a shell script to invoke a oozie workflow. Our script polls certain folders and if there are files they will be passed to the new invoked workflow. The shell script looks something like this:&lt;/P&gt;&lt;PRE&gt;#!/bin/bash -e

for file in $(hdfs dfs -ls -R $pollfolder | grep "^-" | grep -Po "($pollfolder/[a-zA-Z]{2}_.*/[a-zA-Z]{2}_.*-[0-9]{1,}-.*.csv.gz)" | grep -vE '('$automatedfolder'|'$quarantinefolder')')
do
	oozie job -oozie $ooziebaseurl -config $jobproperties -run \
	-D file=$file \
&lt;/PRE&gt;&lt;P&gt;This shell script can then be a shell action in a separate workflow that is triggered by a coordinator or can be just scheduled with cron.&lt;/P&gt;&lt;P&gt;*I removed the creation of the variables that also happens in this script to save some space.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 19:21:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145228#M107796</guid>
      <dc:creator>rene_sluiter</dc:creator>
      <dc:date>2016-07-21T19:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have an example of custom oozie action executor?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145229#M107797</link>
      <description>&lt;P&gt;Thank you, the amount of engineering is done to make Oozie useful is astounding&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 19:29:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Does-anyone-have-an-example-of-custom-oozie-action-executor/m-p/145229#M107797</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-07-21T19:29:09Z</dc:date>
    </item>
  </channel>
</rss>

