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.
As commands in shell scripts are only able to recognize hdfs directories, how could i execute the script.?
curl -o ~/test.jar http://central.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
hdfs dfs -copyFromLocal ~/test.jar /user/sr/test2
View solution in original post