You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Ramya R (JIRA)" <ji...@apache.org> on 2009/05/27 13:06:45 UTC

[jira] Created: (HADOOP-5922) NPE in jobqueue_details.jsp page if scheduler has not started

NPE in jobqueue_details.jsp page if scheduler has not started
-------------------------------------------------------------

                 Key: HADOOP-5922
                 URL: https://issues.apache.org/jira/browse/HADOOP-5922
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/capacity-sched
    Affects Versions: 0.20.0
            Reporter: Ramya R
            Priority: Minor
             Fix For: 0.20.0


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5922) NPE in jobqueue_details.jsp page if scheduler has not started

Posted by "Ramya R (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramya R updated HADOOP-5922:
----------------------------

    Attachment: screenshot-1.jpg

Attaching the screenshot

> NPE in jobqueue_details.jsp page if scheduler has not started
> -------------------------------------------------------------
>
>                 Key: HADOOP-5922
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5922
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/capacity-sched
>    Affects Versions: 0.20.0
>            Reporter: Ramya R
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: screenshot-1.jpg
>
>
> NullPointerException is observed in jobqueue_details.jsp page if the scheduler has not yet started

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5922) NPE in jobqueue_details.jsp page if scheduler has not started

Posted by "Vinod K V (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713537#action_12713537 ] 

Vinod K V commented on HADOOP-5922:
-----------------------------------

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

> NPE in jobqueue_details.jsp page if scheduler has not started
> -------------------------------------------------------------
>
>                 Key: HADOOP-5922
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5922
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/capacity-sched
>    Affects Versions: 0.20.0
>            Reporter: Ramya R
>            Priority: Minor
>             Fix For: 0.20.0
>
>
> NullPointerException is observed in jobqueue_details.jsp page if the scheduler has not yet started

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.