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