<?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 Run bash-script from oozie in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/83495#M85415</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd have a problem: need to run bash-script from oozie, but i can't.&lt;/P&gt;&lt;P&gt;Ther're an error:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], main() threw exception, Cannot run program "ref_tbl.sh" (in directory "&lt;A href="http://hdp00:9888/filebrowser/view=/data6/yarn/nm/usercache/hdfs-etl/appcache/application_1544099183263_0655/container_e295_1544099183263_0655_01_000002" target="_blank"&gt;/data6/yarn/nm/usercache/hdfs-etl/appcache/application_1544099183263_0655/container_e295_1544099183263_0655_01_000002&lt;/A&gt;"): error=2, No such file or directory
java.io.IOException: Cannot run program "ref_tbl.sh" (in directory "&lt;A href="http://hdp00:9888/filebrowser/view=/data6/yarn/nm/usercache/hdfs-etl/appcache/application_1544099183263_0655/container_e295_1544099183263_0655_01_000002" target="_blank"&gt;/data6/yarn/nm/usercache/hdfs-etl/appcache/application_1544099183263_0655/container_e295_1544099183263_0655_01_000002&lt;/A&gt;"): error=2, No such file or directory&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;1. What directory should i put my bash-script? Relative and absolute path, please.&lt;/P&gt;&lt;P&gt;2. How can i find my workflow?&lt;/P&gt;&lt;P&gt;3. I used "oozie editor", not edit xml-file by hands. So i can't use solution like "&lt;A href="http://crazyadmins.com/tag/how-to-execute-shell-script-in-oozie/" target="_blank"&gt;http://crazyadmins.com/tag/how-to-execute-shell-script-in-oozie/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Step 3: Create workflow.xml file for your shell action.&lt;/P&gt;&lt;P&gt;")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, help me.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:58:14 GMT</pubDate>
    <dc:creator>Vhodnoylogin</dc:creator>
    <dc:date>2022-09-16T13:58:14Z</dc:date>
    <item>
      <title>Run bash-script from oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/83495#M85415</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd have a problem: need to run bash-script from oozie, but i can't.&lt;/P&gt;&lt;P&gt;Ther're an error:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], main() threw exception, Cannot run program "ref_tbl.sh" (in directory "&lt;A href="http://hdp00:9888/filebrowser/view=/data6/yarn/nm/usercache/hdfs-etl/appcache/application_1544099183263_0655/container_e295_1544099183263_0655_01_000002" target="_blank"&gt;/data6/yarn/nm/usercache/hdfs-etl/appcache/application_1544099183263_0655/container_e295_1544099183263_0655_01_000002&lt;/A&gt;"): error=2, No such file or directory
java.io.IOException: Cannot run program "ref_tbl.sh" (in directory "&lt;A href="http://hdp00:9888/filebrowser/view=/data6/yarn/nm/usercache/hdfs-etl/appcache/application_1544099183263_0655/container_e295_1544099183263_0655_01_000002" target="_blank"&gt;/data6/yarn/nm/usercache/hdfs-etl/appcache/application_1544099183263_0655/container_e295_1544099183263_0655_01_000002&lt;/A&gt;"): error=2, No such file or directory&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;1. What directory should i put my bash-script? Relative and absolute path, please.&lt;/P&gt;&lt;P&gt;2. How can i find my workflow?&lt;/P&gt;&lt;P&gt;3. I used "oozie editor", not edit xml-file by hands. So i can't use solution like "&lt;A href="http://crazyadmins.com/tag/how-to-execute-shell-script-in-oozie/" target="_blank"&gt;http://crazyadmins.com/tag/how-to-execute-shell-script-in-oozie/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Step 3: Create workflow.xml file for your shell action.&lt;/P&gt;&lt;P&gt;")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, help me.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:58:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/83495#M85415</guid>
      <dc:creator>Vhodnoylogin</dc:creator>
      <dc:date>2022-09-16T13:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Run bash-script from oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/83917#M85416</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/30968"&gt;@Vhodnoylogin&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you for posting your Query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the below thread discusses the same problem which you have described&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Web-UI-Hue-Beeswax/Running-shell-scripts-in-oozie-using-hue/m-p/25206/highlight/true#M699" target="_self"&gt;Hue-Oozie action&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 16:57:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/83917#M85416</guid>
      <dc:creator>satz</dc:creator>
      <dc:date>2018-12-14T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Run bash-script from oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/83996#M85417</link>
      <description>Very thanks. It works.&lt;BR /&gt;&lt;BR /&gt;But it looks strange. Why i need to set two path: real path, and second one (logic path?), what purpose does it have?</description>
      <pubDate>Mon, 17 Dec 2018 08:46:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/83996#M85417</guid>
      <dc:creator>Vhodnoylogin</dc:creator>
      <dc:date>2018-12-17T08:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Run bash-script from oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/84000#M85418</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/30968"&gt;@Vhodnoylogin&lt;/a&gt;&amp;nbsp;Good to know the solution is working for you !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please share the screenshot, Just I would like to see how you have setup your path&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 10:00:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/84000#M85418</guid>
      <dc:creator>satz</dc:creator>
      <dc:date>2018-12-17T10:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Run bash-script from oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/84078#M85419</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Безымянный.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5121i5BFC7528C944ED06/image-size/large?v=v2&amp;amp;px=999" role="button" title="Безымянный.png" alt="Безымянный.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look, at first input-box i could set whole path to script - and that's all. Why we need file-property, and exec-property?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 16:23:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Run-bash-script-from-oozie/m-p/84078#M85419</guid>
      <dc:creator>Vhodnoylogin</dc:creator>
      <dc:date>2018-12-18T16:23:07Z</dc:date>
    </item>
  </channel>
</rss>

