You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2016/11/14 10:38:58 UTC
[jira] [Commented] (OOZIE-2735) Better error message when sharelib
not installed
[ https://issues.apache.org/jira/browse/OOZIE-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15663427#comment-15663427 ]
Peter Bacsko commented on OOZIE-2735:
-------------------------------------
The message "It should never happen" are used multiple times in the code. I think it's worthwhile to replace this phrase everywhere to something more appropriate.
> Better error message when sharelib not installed
> ------------------------------------------------
>
> Key: OOZIE-2735
> URL: https://issues.apache.org/jira/browse/OOZIE-2735
> Project: Oozie
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: Andras Piros
>
> 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 :)
> {noformat}
> 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
> ------------------------------------------------------------------------------------------------------------------------------------
> {noformat}
> {noformat}
> ------------------------------------------------------------------------------------------------------------------------------------
> 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 -
> ------------------------------------------------------------------------------------------------------------------------------------
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)