title: pass inline arguments to shell script saved in in hdfs
body: <p>I have a shell script on hdfs that accepts 8-9 parameters.
  Normally, I can carry it out as follows:</p>
  <pre><code>sh sample.sh -mode FULL -status DELETE -id 1456 -region AP -path &lt;/path/to/filepath&gt;
  </code></pre>
  <p>I tried <code>hadoop fs -cat /dev/test/sample.sh | exec bash -mode FULL -status DELETE -id 1456 -region AP -path /dev/resultsFolder</code>
  Even though I pass these arguments they are not read and script executes without the arguments.
  Threw error as  <code>No such file or directory</code> What is the best way to deal with this?</p>