execution of shell script using Oozie, job always in running state only
When using Oozie, you don't need to use shell script to create HDFS folder , instead use the build in Fs (HDFS) action -
For example:
<action name="createFolder"> <fs> <mkdir path="/my/folder" /> </fs> <ok to="end"/> <error to="fail"/></action>