[
https://issues.apache.org/jira/browse/OOZIE-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533801#comment-15533801
]
Purshotam Shah commented on OOZIE-2692:
---------------------------------------
Response on failure
{code}
* Connected to localhost (::1) port 11000 (#0)
> POST /oozie/v2/jobs HTTP/1.1
> Host: localhost:11000
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Type: application/xml
> Content-Length: 85
>
* upload completely sent off: 85 out of 85 bytes
< HTTP/1.1 400 Bad Request
< Server: Apache-Coyote/1.1
< oozie-error-code: E0309
< oozie-error-message: E0309: Invalid Configuration file
[org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 86; XML document
structures must start and end within the same entity.]
< Content-Type: text/html;charset=utf-8
< Content-Length: 968
< Date: Thu, 29 Sep 2016 19:24:04 GMT
< Connection: close
<
* Closing connection 0
<html><head><title>Apache Tomcat/6.0.44 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 400 - </h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u></u></p><p><b>description</b> <u>The request sent by the client was
syntactically incorrect.</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/6.0.44</h3></body></html>C02NJ5BTG3QD-lm:e
{code}
> Oozie job submit doesn't report error message to user if there is any issue
> with job conf
> -----------------------------------------------------------------------------------------
>
> Key: OOZIE-2692
> URL: https://issues.apache.org/jira/browse/OOZIE-2692
> Project: Oozie
> Issue Type: Bug
> Reporter: Purshotam Shah
> Assignee: Purshotam Shah
> Attachments: OOZIE-2692-V1.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)