Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1513

Workflow stays in running if Fork/join validation or loop detection fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 4.1.0
    • None
    • None

    Description

      If some jobs have configured their workflow definition wrongly with improper use of fork-join combination, in some occurrences the jobs did not go to FAILED. Recovery service keeps picking up and running them again and again, so log is full of errors.

      2012-10-03 19:40:54,035 ERROR SignalXCommand:536 - USER[joe] GROUP[users] TOKEN[-] APP[my-oozie-app] JOB[0001800-120927185459177-oozie-wrkf-W] ACTION[0001800-120927185459177-oozie-wrkf-W@streaming-job] XException, 
      org.apache.oozie.command.CommandException: E0720: Fork/join mismatch, node [join]
      	at org.apache.oozie.command.wf.SignalXCommand.execute(SignalXCommand.java:165)
      	at org.apache.oozie.command.wf.SignalXCommand.execute(SignalXCommand.java:63)
      	at org.apache.oozie.command.XCommand.call(XCommand.java:277)
      	at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: org.apache.oozie.workflow.WorkflowException: E0720: Fork/join mismatch, node [join]
      	at org.apache.oozie.workflow.lite.JoinNodeDef$JoinNodeHandler.loopDetection(JoinNodeDef.java:47)
      	at org.apache.oozie.workflow.lite.LiteWorkflowInstance.signal(LiteWorkflowInstance.java:206)
      	at org.apache.oozie.workflow.lite.LiteWorkflowInstance.signal(LiteWorkflowInstance.java:287)
      	at org.apache.oozie.command.wf.SignalXCommand.execute(SignalXCommand.java:162)
      	... 6 more
      

      Attachments

        1. OOZIE-1513.patch
          1 kB
          Mona Chitnis

        Issue Links

          Activity

            People

              chitnis Mona Chitnis
              chitnis Mona Chitnis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 6h
                  6h
                  Remaining:
                  Remaining Estimate - 6h
                  6h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified