Robert Kanter created OOZIE-2735:
------------------------------------
Summary: 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
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)