免费注册
帮助文档(华北一、二)

  • 一个同步的Coordinator Appliction定义的语法格式,如下所示:

     

    <coordinator-app name="[NAME]" frequency="[FREQUENCY]" start="[DATETIME]" 

    end="[DATETIME]" timezone="[TIMEZONE]" xmlns="uri:oozie:coordinator:0.1">

         <controls>

              <timeout>[TIME_PERIOD]</timeout>

              <concurrency>[CONCURRENCY]</concurrency>

              <execution>[EXECUTION_STRATEGY]</execution>

         </controls>

         <datasets>

              <include>[SHARED_DATASETS]</include>

             ...

              <!-- Synchronous datasets -->

              <dataset name="[NAME]" frequency="[FREQUENCY]" initial-instance="[DATETIME]" timezone="[TIMEZONE]">

                   <uri-template>[URI_TEMPLATE]</uri-template>

              </dataset>

              ...

         </datasets>

         <input-events>

              <data-in name="[NAME]" dataset="[DATASET]">

                   <instance>[INSTANCE]</instance>

                   ...

              </data-in>

              ...

              <data-in name="[NAME]" dataset="[DATASET]">

                   <start-instance>[INSTANCE]</start-instance>

                   <end-instance>[INSTANCE]</end-instance>

              </data-in>

              ...

         </input-events>

         <output-events>

              <data-out name="[NAME]" dataset="[DATASET]">

                   <instance>[INSTANCE]</instance>

              </data-out>