<?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: how to write an oozie shell action to add some metadata tag  to a hdfs file? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105943#M50496</link>
    <description>&lt;P&gt;How do you ingest this data? Can you describe your use case? This task can be easily achieved with Apache Nifi as you process data in-flight. I always found Oozie challenging for this on secure clusters. In your case I'd look at shell action but you'd have to proxy your hdfs user. It would be easier to use Oozie FS action but setfattr action is not supported in current release. Feel free to file an Apache Jira on that. &lt;A href="https://oozie.apache.org/docs/4.2.0/WorkflowFunctionalSpec.html#a3.2.4_Fs_HDFS_action" target="_blank"&gt;https://oozie.apache.org/docs/4.2.0/WorkflowFunctionalSpec.html#a3.2.4_Fs_HDFS_action&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Again, after considering all options in Oozie, I'd try Nifi first.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2017 09:19:13 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2017-01-04T09:19:13Z</dc:date>
    <item>
      <title>how to write an oozie shell action to add some metadata tag  to a hdfs file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105941#M50494</link>
      <description />
      <pubDate>Fri, 30 Dec 2016 22:59:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105941#M50494</guid>
      <dc:creator>hasan_mehedi</dc:creator>
      <dc:date>2016-12-30T22:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to write an oozie shell action to add some metadata tag  to a hdfs file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105942#M50495</link>
      <description>&lt;P&gt;I need to tag arbitrary hdfs file using below attribute. How can i do it ?? Please share idea on this.&lt;/P&gt;&lt;UL&gt;
	
&lt;LI&gt;supplier = "ABC"&lt;/LI&gt;	
&lt;LI&gt;reporting_date="21/12/2016"&lt;/LI&gt;	
&lt;LI&gt;consecutive_number="1234"&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 02 Jan 2017 22:50:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105942#M50495</guid>
      <dc:creator>hasan_mehedi</dc:creator>
      <dc:date>2017-01-02T22:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to write an oozie shell action to add some metadata tag  to a hdfs file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105943#M50496</link>
      <description>&lt;P&gt;How do you ingest this data? Can you describe your use case? This task can be easily achieved with Apache Nifi as you process data in-flight. I always found Oozie challenging for this on secure clusters. In your case I'd look at shell action but you'd have to proxy your hdfs user. It would be easier to use Oozie FS action but setfattr action is not supported in current release. Feel free to file an Apache Jira on that. &lt;A href="https://oozie.apache.org/docs/4.2.0/WorkflowFunctionalSpec.html#a3.2.4_Fs_HDFS_action" target="_blank"&gt;https://oozie.apache.org/docs/4.2.0/WorkflowFunctionalSpec.html#a3.2.4_Fs_HDFS_action&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Again, after considering all options in Oozie, I'd try Nifi first.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 09:19:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105943#M50496</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-01-04T09:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to write an oozie shell action to add some metadata tag  to a hdfs file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105944#M50497</link>
      <description>&lt;P&gt;Thanks for your reply. Our data ingestion process is little complex- a 
lots preprocessing needs to be done before tagging incoming hdfs file 
from external sources. Apache nifi is cool stuff, you suggested almost 
every possible way to do it. But for this scenario i will go for java 
action instead shell action because i may need to get the meta-data from
 different sources that is easy to get using java. Thanks again for 
sharing thoughts.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 18:41:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105944#M50497</guid>
      <dc:creator>hasan_mehedi</dc:creator>
      <dc:date>2017-01-05T18:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to write an oozie shell action to add some metadata tag  to a hdfs file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105945#M50498</link>
      <description>&lt;P&gt;That also works, I'm going to look at the effort to contribute an enhancement for FS action to add this functionality. Seems only a few FS actions were implemented where so many are available with hdfs shell.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 21:01:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-write-an-oozie-shell-action-to-add-some-metadata-tag/m-p/105945#M50498</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-01-06T21:01:11Z</dc:date>
    </item>
  </channel>
</rss>

