You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "rahul k singh (JIRA)" <ji...@apache.org> on 2009/09/18 22:01:15 UTC

[jira] Created: (MAPREDUCE-1007) MAPREDUCE 777 breaks the UI for hierarchial Queues.

MAPREDUCE 777 breaks the UI for hierarchial Queues. 
----------------------------------------------------

                 Key: MAPREDUCE-1007
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
             Project: Hadoop Map/Reduce
          Issue Type: Bug
            Reporter: rahul k singh
            Priority: Blocker


mapreduce 777 breaks jobtracker UI for hierarchial queues

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Vinod K V (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod K V updated MAPREDUCE-1007:
---------------------------------

    Status: Open  (was: Patch Available)

I'm asking Arun to commit this. Will run it through Hudson again to be sure.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Attachment: MAPREDUCE-1007-3.txt

Had an offline discussion with Vinod with few comments. Uploading new patch with these comments implemented.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Status: Patch Available  (was: Open)

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780499#action_12780499 ] 

Hudson commented on MAPREDUCE-1007:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #124 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk-Commit/124/])
    . Fix NPE in CapacityTaskScheduler.getJobs(). Contributed by V.V.Chaitanya Krishna.


> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Attachment: MAPREDUCE-1007-6.txt

The previous patch has redundant check for queueManager.getJobQueueInfo(queue) being null. 
Uploading patch with this removed

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Attachment: MAPREDUCE-1007-2.txt

Uploading patch with above mentioned comments considered.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765575#action_12765575 ] 

Hadoop QA commented on MAPREDUCE-1007:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12422061/MAPREDUCE-1007-8.txt
  against trunk revision 825083.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/167/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/167/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/167/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/167/console

This message is automatically generated.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Vinod K V (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod K V updated MAPREDUCE-1007:
---------------------------------

    Description: 

MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:

{code}
java.lang.NullPointerException
	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
        .... 
{code}
(Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

  was:mapreduce 777 breaks jobtracker UI for hierarchial queues

        Summary: MAPREDUCE-777 breaks the UI for hierarchial Queues.   (was: MAPREDUCE 777 breaks the UI for hierarchial Queues. )

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

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

Vinod K V commented on MAPREDUCE-1007:
--------------------------------------

Quickly looked at the patch and tested it on a single node. It works fine. Some review comments, mostly minor:
 - In CapacityTaskScheduler.getJobs(), we can cache the return value from jobQueuesManager.getJobQueue(queueName) to avoid repetitive lookups.
 - Test-cases testSubmitToQueues(), testGetJobs() and the newly added testJobsForContainerQueues() share a lot of common stuff and test a single concept - job submission to capacity-scheduler. They can be combined into a single testJobSubmission(). Further, instead of creating all the internal queue-related data-structures ourselves, we can simply create a configuration file and start the scheduler. See TestRefreshOfQueues.testSuccessfulCapacityRefresh() for an example. You may need to do some refactoring to facilitate this.

One orthogonal point which this issue may not concern itself with, jobtracker.jsp is now printing the number of root-queues under a header 'queues'. Just looking at it, it didn't tell me what it actually represents. We can (1) rename it to root-queues to be clear, or (2) print both root-queues' and job-queues' number or (3) do away with these numbers altogether and just give a hyper-link to the queues page. Thoughts?

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763981#action_12763981 ] 

Hadoop QA commented on MAPREDUCE-1007:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12421719/MAPREDUCE-1007-7.txt
  against trunk revision 823227.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/68/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/68/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/68/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h3.grid.sp2.yahoo.net/68/console

This message is automatically generated.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE 777 breaks the UI for hierarchial Queues.

Posted by "Vinod K V (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod K V updated MAPREDUCE-1007:
---------------------------------

          Component/s: jobtracker
    Affects Version/s: 0.21.0
        Fix Version/s: 0.21.0
             Assignee: V.V.Chaitanya Krishna

> MAPREDUCE 777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007.patch
>
>
> mapreduce 777 breaks jobtracker UI for hierarchial queues

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Status: Open  (was: Patch Available)

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Vinod K V (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod K V updated MAPREDUCE-1007:
---------------------------------

    Status: Patch Available  (was: Open)

Patch looks good. +1. Running the latest patch through Hudson.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Status: Open  (was: Patch Available)

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779896#action_12779896 ] 

Hadoop QA commented on MAPREDUCE-1007:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12422061/MAPREDUCE-1007-8.txt
  against trunk revision 881673.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/252/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/252/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/252/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/252/console

This message is automatically generated.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Status: Patch Available  (was: Open)

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Attachment: MAPREDUCE-1007-7.txt

The check for queueManager being null is redundant in the previous patch. Uploading patch with this rectified.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759528#action_12759528 ] 

Hadoop QA commented on MAPREDUCE-1007:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12420527/MAPREDUCE-1007-3.txt
  against trunk revision 818674.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/132/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/132/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/132/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/132/console

This message is automatically generated.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Vinod K V (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod K V updated MAPREDUCE-1007:
---------------------------------

    Status: Patch Available  (was: Open)

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759479#action_12759479 ] 

V.V.Chaitanya Krishna commented on MAPREDUCE-1007:
--------------------------------------------------

The -1 in core tests is due to the known issue of TestCopyFiles failing (ref: MAPREDUCE-1029).

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

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

Sharad Agarwal updated MAPREDUCE-1007:
--------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks Chaitanya!

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Attachment: MAPREDUCE-1007-5.txt

Uploading patch with corrections related to the above comment.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE 777 breaks the UI for hierarchial Queues.

Posted by "rahul k singh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

rahul k singh updated MAPREDUCE-1007:
-------------------------------------

    Attachment: MAPREDUCE-1007.patch

attaching a preliminary patch , needs more testing, it needs to be applied on 893

> MAPREDUCE 777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: rahul k singh
>            Priority: Blocker
>         Attachments: MAPREDUCE-1007.patch
>
>
> mapreduce 777 breaks jobtracker UI for hierarchial queues

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Attachment: MAPREDUCE-1007-4.txt

Uploading patch with the check for presence of children in getJobsFromQueue(String queue) method.
The other comment will be handled in a separate jira (MAPREDUCE-1075).

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Status: Patch Available  (was: Open)

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Attachment: MAPREDUCE-1007-8.txt

Since MAPREDUCE-1030 has been comitted, the previous patch wont apply. Uploading new patch.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE 777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Attachment: MAPREDUCE-1007-1.patch

Uploading patch with test case.

> MAPREDUCE 777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: rahul k singh
>            Priority: Blocker
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007.patch
>
>
> mapreduce 777 breaks jobtracker UI for hierarchial queues

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


[jira] Updated: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.V.Chaitanya Krishna updated MAPREDUCE-1007:
---------------------------------------------

    Status: Open  (was: Patch Available)

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "rahul k singh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762567#action_12762567 ] 

rahul k singh commented on MAPREDUCE-1007:
------------------------------------------

Some minor comments:

1. Check if a queue has children or not in getJobsFromQueue(String queue) method.
 2. getQueue(String queue) in JobTracker would return NPE for invalid queue name(Not related to jira but still a bug).



> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "rahul k singh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763922#action_12763922 ] 

rahul k singh commented on MAPREDUCE-1007:
------------------------------------------

+1

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759467#action_12759467 ] 

Hadoop QA commented on MAPREDUCE-1007:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12420527/MAPREDUCE-1007-3.txt
  against trunk revision 818674.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/131/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/131/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/131/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/131/console

This message is automatically generated.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "rahul k singh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763395#action_12763395 ] 

rahul k singh commented on MAPREDUCE-1007:
------------------------------------------

patch seems fine , except 1 minor nit.

1. in getJobsFromQueue if unvalid queueName is passed it would throw NPE.
instead we should check for this condition and throw exception.



> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759402#action_12759402 ] 

Hadoop QA commented on MAPREDUCE-1007:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12420524/MAPREDUCE-1007-2.txt
  against trunk revision 818674.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/130/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/130/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/130/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Mapreduce-Patch-h6.grid.sp2.yahoo.net/130/console

This message is automatically generated.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780636#action_12780636 ] 

Hudson commented on MAPREDUCE-1007:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #149 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/149/])
    . Fix NPE in CapacityTaskScheduler.getJobs(). Contributed by V.V.Chaitanya Krishna.


> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007-2.txt, MAPREDUCE-1007-3.txt, MAPREDUCE-1007-4.txt, MAPREDUCE-1007-5.txt, MAPREDUCE-1007-6.txt, MAPREDUCE-1007-7.txt, MAPREDUCE-1007-8.txt, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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


[jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues.

Posted by "V.V.Chaitanya Krishna (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759070#action_12759070 ] 

V.V.Chaitanya Krishna commented on MAPREDUCE-1007:
--------------------------------------------------

The UI is not being displayed when a hierarchy of queues in built with atleast one container queue (i.e., atleast one non-leaf queue). 
There is no check for occurrence of null pointer in CapacityTaskScheduler.getJobs(queueName) and when the container queue's name is given as input parameter, it fails with NPE.

The above patch is to handle this issue. It also includes test cases written to check the behaviour when a job is submitted to a container queue.

> MAPREDUCE-777 breaks the UI for hierarchial Queues. 
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-1007
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.21.0
>            Reporter: rahul k singh
>            Assignee: V.V.Chaitanya Krishna
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007.patch
>
>
> MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception:
> {code}
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007)
> 	at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888)
> 	at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869)
> 	at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830)
> 	at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36)
>         .... 
> {code}
> (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) )

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