[ 
https://issues.apache.org/jira/browse/OOZIE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122081#comment-13122081
 ] 

[email protected] commented on OOZIE-568:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2158/#review2394
-----------------------------------------------------------


+1

- Virag


On 2011-10-04 03:51:24, params wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2158/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-10-04 03:51:24)
bq.  
bq.  
bq.  Review request for oozie, Mohammad Islam and Angelo K. Huang.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  OOZIE-568: distcp action return error code -1
bq.  
bq.  Summary:
bq.  https://issues.apache.org/jira/browse/OOZIE-568
bq.  
bq.  
bq.  This addresses bug OOZIE-568.
bq.      https://issues.apache.org/jira/browse/OOZIE-568
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    
trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java 
1178596 
bq.    trunk/release-log.txt 1178596 
bq.  
bq.  Diff: https://reviews.apache.org/r/2158/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Tested against current test cases.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  params
bq.  
bq.


                
> 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

        

Reply via email to