Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-4141

[oozie] Graph breaks for external workflows when there is more than one kill node

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.11.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      <!-- Licensed to Cloudera, Inc. under one
      or more contributor license agreements.  See the NOTICE file
      distributed with this work for additional information
      regarding copyright ownership.  Cloudera, Inc. licenses this file
      to you under the Apache License, Version 2.0 (the
      "License"); you may not use this file except in compliance
      with the License.  You may obtain a copy of the License at
      
          http://www.apache.org/licenses/LICENSE-2.0
      
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.import logging -->
      <workflow-app name="SolrFileIndexer" xmlns="uri:oozie:workflow:0.5">
          <start to="java-212a"/>
          <kill name="IndexFailed">
              <message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
          </kill>
          <kill name="CleanupFailed">
              <message>FS Delete failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
          </kill>
          <action name="java-212a">
              <java>
                  <job-tracker>${jobTracker}</job-tracker>
                  <name-node>${nameNode}</name-node>
                  <configuration>
                      <property>
                          <name>collectionName</name>
                          <value>test</value>
                      </property>
                  </configuration>
                  <main-class&gt;org.apache.solr.hadoop.MapReduceIndexerTool</main-class&gt;
                  <arg>--morphline-file</arg>
                  <arg>morphline.conf</arg>
                  <arg>--output-dir</arg>
                  <arg>${nameNode}${outputDir}${username}</arg>
                  <arg>--log4j</arg>
                  <arg>log4j.properties</arg>
                  <arg>--verbose</arg>
                  <arg>--go-live</arg>
                  <arg>--zk-host</arg>
                  <arg>${zkHost}</arg>
                  <arg>--collection</arg>
                  <arg>${collectionName}</arg>
                  <arg>${nameNode}${filePath}</arg>
                  <file>morphline.conf#morphline.conf</file>
                  <file>/user/hue/log4j.properties#log4j.properties</file>
              </java>
              <ok to="clean-up"/>
              <error to="IndexFailed"/>
          </action>
          <action name="clean-up">
            <fs>
              <delete path="${workspacePath}"/>
            </fs>
            <ok to="End"/>
            <error to="CleanupFailed"/>
          </action>
          <end name="End"/>
      </workflow-app>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krish Sai K Chirravuri
                Reporter:
                romain Romain Rigaux
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: