Last active
December 25, 2015 18:19
-
-
Save tmusabbir/7019407 to your computer and use it in GitHub Desktop.
A basic Oozie coordinator job
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A basic Oozie coordinator job |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ambari_qa@ip-10-0-0-91 ~]$ oozie job -oozie http://ip-10-0-0-91:11000/oozie -config job.properties -run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ambari_qa@ip-10-0-0-91 coordinator]$ hadoop fs -lsr /user/ambari_qa/coordinator | |
-rw------- 3 ambari_qa hdfs 278 2013-05-13 20:31 /user/ambari_qa/coordinator/coordinator.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ambari_qa@ip-10-0-0-91 coordinator]$ oozie job -oozie http://ip-10-0-0-91:11000/oozie -run -config coordinator.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nameNode=hdfs://ip-10-0-0-92:8020 | |
jobTracker=ip-10-0-0-93:50300 | |
queueName=default | |
EXEC=script.sh | |
oozie.use.system.libpath=true | |
oozie.libpath=/user/oozie/share/lib | |
oozie.coord.application.path=${nameNode}/user/${user.name}/coordinator | |
workflowPath=${nameNode}/user/${user.name}/shell-wf | |
startTime=2013-05-14T02:25Z | |
endTime=2013-05-14T02:45Z | |
frequency=30 | |
timezone=UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<coordinator-app end="${endTime}" frequency="${frequency}" name="Shell_App" start="${startTime}" timezone="${timezone}" xmlns="uri:oozie:coordinator:0.1"> | |
<action> | |
<workflow> | |
<app-path>${workflowPath}</app-path> | |
</workflow> | |
</action> | |
</coordinator-app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ambari_qa@ip-10-0-0-91 ~]$ hadoop fs -lsr /user/ambari_qa/shell-wf | |
-rw------- 3 ambari_qa hdfs 1183 2013-05-10 21:45 /user/ambari_qa/shell-wf/script.sh | |
-rw------- 3 ambari_qa hdfs 7181 2013-05-14 04:35 /user/ambari_qa/shell-wf/workflow.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nameNode=hdfs://ip-10-0-0-92:8020 | |
jobTracker=ip-10-0-0-93:50300 | |
queueName=default | |
EXEC=script.sh | |
oozie.use.system.libpath=true | |
oozie.wf.application.path=${nameNode}/user/${user.name}/${wfeRoot}/shell-wf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment