Uploaded image for project: 'Hive'
  1. Hive
  2. 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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 1.1.0
    • WebHCat
    • None

    Description

      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

      {"error":"Could not find job job_1415748506143_0002"}
      

      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.

      Attachments

        1. HIVE-8881.patch
          0.7 kB
          Eugene Koifman

        Activity

          People

            ekoifman Eugene Koifman
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: