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

"It should never happen" error messages should be more specific to root cause

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.0
    • 5.1.0
    • None
    • None

    Description

      If you forget to install the sharelib and you try to run a workflow, the action will fail (as expected), but the error code will be "It should never happen".  That's not a good error code

      2018-03-29 14:35:02,361  WARN ActionStartXCommand:523 - SERVER[rkanter-MBP.local] USER[rkanter] GROUP[-] TOKEN[] APP[map-reduce-wf] JOB[0000000-180329142919509-oozie-rkan-W] ACTION[0000000-180329142919509-oozie-rkan-W@mr-node] Error starting action [mr-node]. ErrorType [FAILED], ErrorCode [It should never happen], Message [File /user/rkanter/share/lib does not exist]
      org.apache.oozie.action.ActionExecutorException: File /user/rkanter/share/lib does not exist
              at org.apache.oozie.action.hadoop.JavaActionExecutor.addSystemShareLibForAction(JavaActionExecutor.java:646)
              at org.apache.oozie.action.hadoop.JavaActionExecutor.addAllShareLibs(JavaActionExecutor.java:760)
              at org.apache.oozie.action.hadoop.JavaActionExecutor.setLibFilesArchives(JavaActionExecutor.java:746)
              at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:984)
              at org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1512)
              at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:243)
              at org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:68)
              at org.apache.oozie.command.XCommand.call(XCommand.java:290)
              at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:334)
              at org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:263)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:181)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      
      Error starting action [mr-node]. ErrorType [FAILED], ErrorCode [It should never happen]
      

      Attachments

        1. OOZIE-3208-003.patch
          10 kB
          Kinga Marton
        2. OOZIE-3208-002.patch
          10 kB
          Kinga Marton
        3. OOZIE-3208-001.patch
          10 kB
          Kinga Marton

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kmarton Kinga Marton
            rkanter Robert Kanter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment