[ 
https://issues.apache.org/jira/browse/OOZIE-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951446#comment-13951446
 ] 

Hadoop QA commented on OOZIE-1734:
----------------------------------

Testing JIRA OOZIE-1734

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 
132
.    {color:green}+1{color} the patch does adds/modifies 2 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.    {color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations
.    {color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color}
.    Tests run: 1408
.    Tests failed: 0
.    Tests errors: 1

.    The patch failed the following testcases:

.      

{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/1139/

> Oozie returned 500 Internal Server error when user passes invalid request
> -------------------------------------------------------------------------
>
>                 Key: OOZIE-1734
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1734
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.2, 4.0.0
>            Reporter: Chelsey Chang
>            Assignee: Chelsey Chang
>         Attachments: OOZIE-1734.patch, OOZIE-182-bigwheel-GA-4.0.0-v2.patch, 
> OOZIE-182-bigwheel-GA-4.0.0-v3.patch, OOZIE-182-condor-3.3.2-v2.patch, 
> OOZIE-182-condor-3.3.2-v3.patch
>
>
> We should return 400 Bad request in this case since its a user error.
> C:\ServiceCode\Main\src>curl -k -g --request PUT -d user.name=hdinsightuser 
> -u "<username>:<password>" "<clusterUrl>/oozie/v1/job/?action=kill"
> <html><head><title>Apache Tomcat/6.0.36 - 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;col or: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
> {c olor : black;}
> A.name
> {color : black;}
> HR
> {color : #525D76;}
> --></style> </head><body><h1>HTTP Status 500 - id cannot be empty</h1><HR 
> size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>
> message</b> <u>id cannot be empty</u></p><p><b>description</b> <u>The server 
> encountered an internal error that prevented it from fulfilling this 
> request.</u></p><p><b>exception</b> <pre>java.lang.Ill
> egalArgumentException: id cannot be empty
> org.apache.oozie.util.ParamChecker.notEmpty(ParamChecker.java:87)
> org.apache.oozie.util.ParamChecker.notEmpty(ParamChecker.java:71)
> org.apache.oozie.command.coord.CoordKillXCommand.<init>(CoordKillXCommand.java:58)
> org.apache.oozie.CoordinatorEngine.kill(CoordinatorEngine.java:174)
> org.apache.oozie.servlet.V1JobServlet.killCoordinatorJob(V1JobServlet.java:482)
> org.apache.oozie.servlet.V1JobServlet.killJob(V1JobServlet.java:152)
> org.apache.oozie.servlet.BaseJobServlet.doPut(BaseJobServlet.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:640)
> org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:286)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:126)
> org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:384)
> org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:131)
> org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:84)
> </pre></p><p><b>note</b> <u>The full stack trace of the root cause is 
> available in the Apache Tomcat/6.0.36 logs.</u></p><HR size="1" 
> noshade="noshade"><h3>Apache Tomcat/6.0.36</h3></body></html>



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to