You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/11/17 21:52:33 UTC

[jira] [Commented] (HIVE-8881) Receiving json "{"error":"Could not find job job_1415748506143_0002"}" when web client tries to fetch all jobs from webhcat where HDFS does not have the data.

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

Thejas M Nair commented on HIVE-8881:
-------------------------------------

[~ekoifman] Can you explain how the change to extend Exception instead of throwable fixes this issue ?


> Receiving json "{"error":"Could not find job job_1415748506143_0002"}" when web client tries to fetch all jobs from webhcat where HDFS does not have the data.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-8881
>                 URL: https://issues.apache.org/jira/browse/HIVE-8881
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>    Affects Versions: 0.14.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-8881.patch
>
>
> when a job is deleted from HDFS and the curl call is executed 
> http://localhost:50111/templeton/v1/jobs?user.name=hcat\&showall=true\&fields=*'
> Occasionally receiving json like this
> {noformat}
> {"error":"Could not find job job_1415748506143_0002"}
> {noformat}
> this is an intermittent issue that happens when Hadoop for some reason can't find the details for a given job id.
> This REST call should be more flexible since it is designed to return information about many jobs at once.  It should just skip over "bad" IDs and produce as much output as it can.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)