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

NPE in jobqueue_details.jsp page if scheduler has not started

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      NullPointerException is observed in jobqueue_details.jsp page if the scheduler has not yet started

      1. screenshot-1.jpg
        165 kB
        Ramya Sunil

        Activity

        Ramya Sunil created issue -
        Hide
        Vinod Kumar Vavilapalli added a comment -

        As Ramya mentioned offline to me, this happens only in a narrow window when jobqueue_details.jsp is accessed after JT is started and before scheduler gets started and is not visible afterwards.

        This doesn't have any side effects and can be easily fixed by a null check for jobQueuesManager in CapacityTaskScheduler.getJobs(String queue).

        Show
        Vinod Kumar Vavilapalli added a comment - As Ramya mentioned offline to me, this happens only in a narrow window when jobqueue_details.jsp is accessed after JT is started and before scheduler gets started and is not visible afterwards. This doesn't have any side effects and can be easily fixed by a null check for jobQueuesManager in CapacityTaskScheduler.getJobs(String queue).
        Hide
        Ramya Sunil added a comment -

        Attaching the screenshot

        Show
        Ramya Sunil added a comment - Attaching the screenshot
        Ramya Sunil made changes -
        Field Original Value New Value
        Attachment screenshot-1.jpg [ 12409156 ]
        Owen O'Malley made changes -
        Project Hadoop Common [ 12310240 ] Hadoop Map/Reduce [ 12310941 ]
        Key HADOOP-5922 MAPREDUCE-528
        Affects Version/s 0.20.0 [ 12313438 ]
        Component/s contrib/capacity-sched [ 12312466 ]
        Fix Version/s 0.20.0 [ 12313438 ]
        Hide
        Anjali M added a comment -

        eventhough i have a null check on the jobqueue manager, the same error is getting reported and the scheduler fails to start.

        Show
        Anjali M added a comment - eventhough i have a null check on the jobqueue manager, the same error is getting reported and the scheduler fails to start.
        Allen Wittenauer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1882d 9h 14m 1 Allen Wittenauer 22/Jul/14 20:19

          People

          • Assignee:
            Unassigned
            Reporter:
            Ramya Sunil
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development