You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Santhosh Srinivasan (JIRA)" <ji...@apache.org> on 2012/07/25 00:59:33 UTC

[jira] [Created] (OOZIE-923) Improve error message when a user tries to start a coordinator job

Santhosh Srinivasan created OOZIE-923:
-----------------------------------------

             Summary: Improve error message when a user tries to start a coordinator job
                 Key: OOZIE-923
                 URL: https://issues.apache.org/jira/browse/OOZIE-923
             Project: Oozie
          Issue Type: Bug
          Components: coordinator
    Affects Versions: 3.2.0
            Reporter: Santhosh Srinivasan
            Assignee: Santhosh Srinivasan
            Priority: Minor
             Fix For: trunk


The coordinator job does not support a start action. When a user tries to start a coordinator job, the error message is not informative.


PUT http://localhost:11000/oozie/v1/job/0000002-120711104734467-oozie-oozi-C?action=start&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [{0}] = [{1}]


The appropriate message should be

PUT http://localhost:11000/oozie/v1/job/0000043-120711104734467-oozie-oozi-C?action=submit&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [action] = [start]
org.apache.oozie.servlet.XServletException: E0303: Invalid parameter value, [action] = [start]

--
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-923) Improve error message when a user tries to start a coordinator job

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

Santhosh Srinivasan commented on OOZIE-923:
-------------------------------------------

Review is up at: https://reviews.apache.org/r/6624/

Earlier I had problems as my patch was based on git and not on svn. I will upload the svn diff patch shortly.
                
> Improve error message when a user tries to start a coordinator job
> ------------------------------------------------------------------
>
>                 Key: OOZIE-923
>                 URL: https://issues.apache.org/jira/browse/OOZIE-923
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 3.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-923.patch
>
>
> The coordinator job does not support a start action. When a user tries to start a coordinator job, the error message is not informative.
> PUT http://localhost:11000/oozie/v1/job/0000002-120711104734467-oozie-oozi-C?action=start&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [{0}] = [{1}]
> The appropriate message should be
> PUT http://localhost:11000/oozie/v1/job/0000043-120711104734467-oozie-oozi-C?action=submit&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [action] = [start]
> org.apache.oozie.servlet.XServletException: E0303: Invalid parameter value, [action] = [start]

--
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-923) Improve error message when a user tries to start a coordinator job

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

Santhosh Srinivasan commented on OOZIE-923:
-------------------------------------------

I tried to create a review request on review board but I am receiving the following message:

Something broke! (Error 500)

It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator.
                
> Improve error message when a user tries to start a coordinator job
> ------------------------------------------------------------------
>
>                 Key: OOZIE-923
>                 URL: https://issues.apache.org/jira/browse/OOZIE-923
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 3.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-923.patch
>
>
> The coordinator job does not support a start action. When a user tries to start a coordinator job, the error message is not informative.
> PUT http://localhost:11000/oozie/v1/job/0000002-120711104734467-oozie-oozi-C?action=start&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [{0}] = [{1}]
> The appropriate message should be
> PUT http://localhost:11000/oozie/v1/job/0000043-120711104734467-oozie-oozi-C?action=submit&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [action] = [start]
> org.apache.oozie.servlet.XServletException: E0303: Invalid parameter value, [action] = [start]

--
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-923) Improve error message when a user tries to start a coordinator job

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

Virag Kothari updated OOZIE-923:
--------------------------------

    Attachment: OOZIE-923-2.patch

Committed to trunk after removing white spaces. Final patch attached
                
> Improve error message when a user tries to start a coordinator job
> ------------------------------------------------------------------
>
>                 Key: OOZIE-923
>                 URL: https://issues.apache.org/jira/browse/OOZIE-923
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 3.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-923-1.patch, OOZIE-923-2.patch, OOZIE-923.patch
>
>
> The coordinator job does not support a start action. When a user tries to start a coordinator job, the error message is not informative.
> PUT http://localhost:11000/oozie/v1/job/0000002-120711104734467-oozie-oozi-C?action=start&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [{0}] = [{1}]
> The appropriate message should be
> PUT http://localhost:11000/oozie/v1/job/0000043-120711104734467-oozie-oozi-C?action=submit&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [action] = [start]
> org.apache.oozie.servlet.XServletException: E0303: Invalid parameter value, [action] = [start]

--
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-923) Improve error message when a user tries to start a coordinator job

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

Santhosh Srinivasan updated OOZIE-923:
--------------------------------------

    Attachment: OOZIE-923.patch

Patch with test cases for review
                
> Improve error message when a user tries to start a coordinator job
> ------------------------------------------------------------------
>
>                 Key: OOZIE-923
>                 URL: https://issues.apache.org/jira/browse/OOZIE-923
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 3.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-923.patch
>
>
> The coordinator job does not support a start action. When a user tries to start a coordinator job, the error message is not informative.
> PUT http://localhost:11000/oozie/v1/job/0000002-120711104734467-oozie-oozi-C?action=start&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [{0}] = [{1}]
> The appropriate message should be
> PUT http://localhost:11000/oozie/v1/job/0000043-120711104734467-oozie-oozi-C?action=submit&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [action] = [start]
> org.apache.oozie.servlet.XServletException: E0303: Invalid parameter value, [action] = [start]

--
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-923) Improve error message when a user tries to start a coordinator job

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

Santhosh Srinivasan updated OOZIE-923:
--------------------------------------

    Attachment: OOZIE-923-1.patch

Patch based on svn diff.
                
> Improve error message when a user tries to start a coordinator job
> ------------------------------------------------------------------
>
>                 Key: OOZIE-923
>                 URL: https://issues.apache.org/jira/browse/OOZIE-923
>             Project: Oozie
>          Issue Type: Bug
>          Components: coordinator
>    Affects Versions: 3.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-923-1.patch, OOZIE-923.patch
>
>
> The coordinator job does not support a start action. When a user tries to start a coordinator job, the error message is not informative.
> PUT http://localhost:11000/oozie/v1/job/0000002-120711104734467-oozie-oozi-C?action=start&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [{0}] = [{1}]
> The appropriate message should be
> PUT http://localhost:11000/oozie/v1/job/0000043-120711104734467-oozie-oozi-C?action=submit&user.name=AAA&doAs=BBB] error[E0303], E0303: Invalid parameter value, [action] = [start]
> org.apache.oozie.servlet.XServletException: E0303: Invalid parameter value, [action] = [start]

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