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

        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
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development