incubator-oozie-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OOZIE-568) distcp action return error code -1
Date Tue, 03 Jan 2012 17:30:40 GMT

     [ https://issues.apache.org/jira/browse/OOZIE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harsh J resolved OOZIE-568.
---------------------------

    Resolution: Fixed
    
> distcp action return error code -1
> ----------------------------------
>
>                 Key: OOZIE-568
>                 URL: https://issues.apache.org/jira/browse/OOZIE-568
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Parameswaran Raman
>
> When 'distcp' action fails due to non-existing source directory, the return code is '-1'
instead of a valid oozie return code.
> As a result, the distcp action cannot be automatically retried on error (because the
return code -1 is not a valid retry_error_code).
> $ oozie job -info 0000000-110819184001205-oozie-oozi-W@copy1
> ID : 0000000-110819184001205-oozie-oozi-W@copy1
> ------------------------------------------------------------------------------------------------------------------------------------
> Console URL     : http://....
> Error Code      : -1
> Error Message   : QA: Distcp workflow, error message[Main class [org.apache.hadoop.tools.DistCp],
exit code [-1]]
> External ID     : job_201108122213_4277
> External Status : FAILED/KILLED
> Name            : copy1
> Retries         : 0
> Tracker URI     : abc.com:50300
> Type            : distcp
> Started         : 2011-08-19 18:43
> Status          : ERROR
> Ended           : 2011-08-19 18:43
> The fix would be to return a valid oozie error code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message