[ 
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

        

Reply via email to