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

Better error message when sharelib not installed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • trunk
    • None
    • None
    • None

    Description

      If the sharelib is not installed and you try to run a job anyway, the action fails (as expected), but the Error Code is "It should never happen". If you use the -verbose argument, you'll get the Error Message, which is much more clear: "File /user/rkanter/share/lib does not exist".

      The verbose message is fine, but we should give a proper error code in this situation. "It should never happen" is an embarrassing error code

      Actions
      ------------------------------------------------------------------------------------------------------------------------------------
      ID                                                                            Status    Ext ID                 Ext Status Err Code
      ------------------------------------------------------------------------------------------------------------------------------------
      0000000-161112210955567-oozie-rkan-W@:start:                                  OK        -                      OK         -
      ------------------------------------------------------------------------------------------------------------------------------------
      0000000-161112210955567-oozie-rkan-W@mr-node                                  FAILED    -                      -          It should never happen
      ------------------------------------------------------------------------------------------------------------------------------------
      
      ------------------------------------------------------------------------------------------------------------------------------------
      ID	Console URL	Error Code	Error Message	External ID	External Status	Name	Retries	Tracker URI	Type	Started	Status	Ended
      ------------------------------------------------------------------------------------------------------------------------------------
      0000000-161112210955567-oozie-rkan-W@:start:	-	-	-	-	OK	:start:	0	-	:START:	2016-11-12 20:21:23 GMT	OK	2016-11-12 20:21:23 GMT
      ------------------------------------------------------------------------------------------------------------------------------------
      0000000-161112210955567-oozie-rkan-W@mr-node	-	It should never happen	File /user/rkanter/share/lib does not exist.	-	-	mr-node	0	-	map-reduce	2016-11-12 20:21:23 GMT	FAILED	-
      ------------------------------------------------------------------------------------------------------------------------------------
      

      Attachments

        Issue Links

          Activity

            People

              asalamon74 Andras Salamon
              rkanter Robert Kanter
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: