[ 
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

        

Reply via email to