Member since
12-09-2015
1
Post
2
Kudos Received
0
Solutions
12-09-2015
12:44 AM
2 Kudos
Hi, 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.? Lets say below is the Sample code: 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 How can i execute the script with above two commands using oozie.?
... View more
Labels:
- Labels:
-
Apache Oozie