hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7035) Templeton returns 500 for user errors - when job cannot be found
Date Sat, 10 May 2014 22:12:18 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eugene Koifman updated HIVE-7035:
---------------------------------

    Attachment: HIVE-7035.patch

> Templeton returns 500 for user errors - when job cannot be found
> ----------------------------------------------------------------
>
>                 Key: HIVE-7035
>                 URL: https://issues.apache.org/jira/browse/HIVE-7035
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.13.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-7035.patch
>
>
> curl -i 'http://localhost:50111/templeton/v1/jobs/job_1399496111138_00011?user.name=ekoifman'
>  should return HTTP Status code 4xx when no such job exists; it currently returns 500.
> {noformat}
> {"error":"org.apache.hadoop.yarn.exceptions.ApplicationNotFoundException: Application
with id 'application_201304291205_0015' doesn't exist in RM.\r\n\tat org.apache.hadoop.yarn.server.resourcemanager
> .ClientRMService.getApplicationReport(ClientRMService.java:247)\r\n\tat org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtocolPBServiceImpl.getApplicationReport(ApplicationClientProtocol
> PBServiceImpl.java:120)\r\n\tat org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationClientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:241)\r\n\tat
org.apache.hado
> op.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585)\r\n\tat
org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928)\r\n\tat org.apache.hadoop.ipc.Server$Handler$1.run(Serve
> r.java:2053)\r\n\tat org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2049)\r\n\tat
java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAs(Subject.ja
> va:415)\r\n\tat org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)\r\n\tat
org.apache.hadoop.ipc.Server$Handler.run(Server.java:2047)\r\n"}
> {noformat}



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

Mime
View raw message