<?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 how to execute oozie shell action with script having curl command in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-execute-oozie-shell-action-with-script-having-curl/m-p/34938#M11649</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create oozie workflow that exeuctes a shell script. The shell script has curl command which downloads a specific file from the download link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As commands in shell scripts are only able to recognize hdfs directories, how could i execute the script.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -o ~/test.jar&amp;nbsp;&lt;A href="http://central.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar" target="_blank"&gt;http://central.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;hdfs dfs -copyFromLocal ~/test.jar /user/sr/test2&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:51:57 GMT</pubDate>
    <dc:creator>Srini_D</dc:creator>
    <dc:date>2022-09-16T09:51:57Z</dc:date>
    <item>
      <title>how to execute oozie shell action with script having curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-execute-oozie-shell-action-with-script-having-curl/m-p/34938#M11649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create oozie workflow that exeuctes a shell script. The shell script has curl command which downloads a specific file from the download link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As commands in shell scripts are only able to recognize hdfs directories, how could i execute the script.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -o ~/test.jar&amp;nbsp;&lt;A href="http://central.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar" target="_blank"&gt;http://central.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;hdfs dfs -copyFromLocal ~/test.jar /user/sr/test2&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:51:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-execute-oozie-shell-action-with-script-having-curl/m-p/34938#M11649</guid>
      <dc:creator>Srini_D</dc:creator>
      <dc:date>2022-09-16T09:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to execute oozie shell action with script having curl command</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-execute-oozie-shell-action-with-script-having-curl/m-p/34945#M11650</link>
      <description>&amp;gt; As commands in shell scripts are only able to recognize hdfs directories&lt;BR /&gt;&lt;BR /&gt;This is an incorrect assumption. The shell action will merely execute any&lt;BR /&gt;given script file (as normally executed from a process), and does not care&lt;BR /&gt;about what is within it.&lt;BR /&gt;&lt;BR /&gt;Does your script fail with an error? If so, please post the error.&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Dec 2015 05:50:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-execute-oozie-shell-action-with-script-having-curl/m-p/34945#M11650</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-12-09T05:50:52Z</dc:date>
    </item>
  </channel>
</rss>

