Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2552

MR 279: NPE when requesting attemptids for completed jobs

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None

      Description

      While constructing a CompletedJob instance on the JobHistory server - successfuleAttempt is not populated. Causes an NPE when listing completed attempts for a job via the CLI.

      CLI: hadoop job -list-attempt-ids <job_id> MAP completed

      1. MR2552.patch
        2 kB
        Siddharth Seth

        Activity

        Hide
        Siddharth Seth added a comment -

        setting successfulAttempt while parsing jobHistory for a job.

        Show
        Siddharth Seth added a comment - setting successfulAttempt while parsing jobHistory for a job.
        Hide
        Arun C Murthy added a comment -

        I just committed this. Thanks Sid!

        Show
        Arun C Murthy added a comment - I just committed this. Thanks Sid!

          People

          • Assignee:
            Siddharth Seth
            Reporter:
            Siddharth Seth
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development