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

When user adds hierarchical queues to the cluster, mapred queue -list returns NULL Pointer Exception

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: jobtracker
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      When User adds the hierarchical queues, and try to see them from the command line using
      mapred queue -list
      It returns Null Pointer Exception.

      1. patch-22
        1 kB
        Mayank Bansal
      2. patch-22.patch
        1 kB
        Mayank Bansal

        Activity

        Konstantin Shvachko made changes -
        Assignee Mayank Bansal [ mayank_bansal ]
        Description When User adds the hierarchical queues, and try to see them from the command line using
        mapred queue -list

        It returns Null Pointer Exception.
        When User adds the hierarchical queues, and try to see them from the command line using
        mapred queue -list
        It returns Null Pointer Exception.
        Konstantin Shvachko made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Mayank Bansal made changes -
        Attachment patch-22.patch [ 12495310 ]
        Mayank Bansal made changes -
        Release Note There are two changes which needs to be done in order to fix the Null Pointer Exception.
        1. Job tracker was not setting the job statuses for the leaf queues, so we need to fix the job tracker to set the running job statuses for the leaf queues.
        2. When we are decserializing the jobqueueInfo object at the client side then it was actually expecting the jobqueueInfo object however from the Queinfo class we were passing the Queinfo object which needs to be changed to jobqueueInfo object.
        Mayank Bansal made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note There are two changes which needs to be done in order to fix the Null Pointer Exception.
        1. Job tracker was not setting the job statuses for the leaf queues, so we need to fix the job tracker to set the running job statuses for the leaf queues.
        2. When we are decserializing the jobqueueInfo object at the client side then it was actually expecting the jobqueueInfo object however from the Queinfo class we were passing the Queinfo object which needs to be changed to jobqueueInfo object.
        Affects Version/s 0.22.0 [ 12314184 ]
        Labels patch
        Mayank Bansal made changes -
        Field Original Value New Value
        Attachment patch-22 [ 12495140 ]
        Mayank Bansal created issue -

          People

          • Assignee:
            Mayank Bansal
            Reporter:
            Mayank Bansal
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development