You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Parameswaran Raman (Created) (JIRA)" <ji...@apache.org> on 2011/10/03 18:41:34 UTC

[jira] [Created] (OOZIE-568) distcp action return error code -1

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 was '-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



--
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

        

[jira] [Updated] (OOZIE-568) distcp action return error code -1

Posted by "Parameswaran Raman (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Parameswaran Raman updated OOZIE-568:
-------------------------------------

    Description: 
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



  was:
When 'distcp' action fails due to non-existing source directory, the return code was '-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



    
> 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

--
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

        

[jira] [Commented] (OOZIE-568) distcp action return error code -1

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122266#comment-13122266 ] 

jiraposter@reviews.apache.org commented on OOZIE-568:
-----------------------------------------------------


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


+1 pushing.

- Mohammad


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

        

[jira] [Commented] (OOZIE-568) distcp action return error code -1

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122081#comment-13122081 ] 

jiraposter@reviews.apache.org 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

        

[jira] [Commented] (OOZIE-568) distcp action return error code -1

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129082#comment-13129082 ] 

jiraposter@reviews.apache.org commented on OOZIE-568:
-----------------------------------------------------


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

(Updated 2011-10-17 18:50:18.803920)


Review request for oozie, Mohammad Islam and Angelo K. Huang.


Changes
-------

Adding distctp retry error code to property 'oozie.service.LiteWorkflowStoreService.user.retry.error.code' in oozie-default.


Summary
-------

OOZIE-568: distcp action return error code -1

Summary:
https://issues.apache.org/jira/browse/OOZIE-568


This addresses bug OOZIE-568.
    https://issues.apache.org/jira/browse/OOZIE-568


Diffs (updated)
-----

  trunk/core/src/main/resources/oozie-default.xml 1185323 

Diff: https://reviews.apache.org/r/2158/diff


Testing
-------

Tested against current test cases.


Thanks,

params


                
> 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

        

[jira] [Commented] (OOZIE-568) distcp action return error code -1

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119886#comment-13119886 ] 

jiraposter@reviews.apache.org commented on OOZIE-568:
-----------------------------------------------------


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

Review request for oozie, Mohammad Islam and Angelo K. Huang.


Summary
-------

OOZIE-568: distcp action return error code -1

Summary:
https://issues.apache.org/jira/browse/OOZIE-568


This addresses bug OOZIE-568.
    https://issues.apache.org/jira/browse/OOZIE-568


Diffs
-----

  trunk/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java 1178596 
  trunk/release-log.txt 1178596 

Diff: https://reviews.apache.org/r/2158/diff


Testing
-------

Tested against current test cases.


Thanks,

params


                
> 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

        

[jira] [Updated] (OOZIE-568) distcp action return error code -1

Posted by "Parameswaran Raman (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Parameswaran Raman updated OOZIE-568:
-------------------------------------

    Description: 
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.

  was:
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



    
> 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