1. 전체 그림
* dot 표현은 optional 사항임
2. bundle application
<bundle-app name='bundle-example' xmlns:xsi='http://www.w3.org/2001/
XMLSchema-instance'xmlns='uri:oozie:bundle:0.2'>
<parameters>
<property>
<name>start</name>
</property>
<property>
<name>end</name>
<value>2017-1-20T10:00Z</value>
</property>
</parameters>
<controls>
<kick-off-time>2017-1-20T13:30Z</kick-off-time>
</controls>
<coordinator name='coord-test1'>
<app-path>${nameNode}/tmp/coord-test1/coordinator.xml</app-path>
<configuration>
<property>
<name>start</name>
<value>${start}</value>
</property>
<property>
<name>end</name>
<value>${end}</value>
</property>
</configuration>
</coordinator>
<coordinator name='coord-test2'>
<app-path>${nameNode}/tmp/coord-test2/coordinator.xml</app-path>
<configuration>
<property>
<name>start</name>
<value>${start}</value>
</property>
<property>
<name>end</name>
<value>${end}</value>
</property>
</configuration>
</coordinator>
</bundle-app>
3. bundle 수행 명령어
oozie job -config job.properties -submit -- 수행요청
oozie job 0000001-170215151410453-oozie-oozi-B -run -- 실행
oozie job 0000001-170215151410453-oozie-oozi-B –suspend
oozie job 0000001-170215151410453-oozie-oozi-B -resume
oozie job -info 0000001-170215151410453-oozie-oozi-B
'NoSQL > oozie' 카테고리의 다른 글
oozie http api로 job 정보 접근 (0) | 2017.03.06 |
---|---|
oozie jar (0) | 2017.03.03 |
oozie current() versus latest() comparison (0) | 2017.03.03 |
oozie decision (0) | 2017.03.02 |
oozie hive job (0) | 2017.03.02 |