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 "Sherry Chen (JIRA)" <ji...@apache.org> on 2011/06/25 00:21:48 UTC

[jira] [Created] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

TestCapacityScheduler fails with "Queue "q1" does not exist"
------------------------------------------------------------

                 Key: MAPREDUCE-2621
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 0.20.205.0
         Environment: 0.20.1xx-Secondary 
            Reporter: Sherry Chen
            Assignee: Sherry Chen
            Priority: Minor


{quote}
Error Message

Queue "q1" does not exist

Stacktrace

java.io.IOException: Queue "q1" does not exist
	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
{quote}

When queue name is invalid, an exception is thrown now. 



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Jeffrey Naisbitt commented on MAPREDUCE-2621:
---------------------------------------------

Looks good to me, and I verified the tests pass for me.  A minor comment: the new getJobTracker method (in UtilsForTests.java) duplicates almost all of the code in the original getJobTracker method.  It would be more maintainable if we could consolidate the duplicated code so we don't have to make future changes in both places - not critical though.

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>         Attachments: MAPREDUCE-2621.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Matt Foley updated MAPREDUCE-2621:
----------------------------------

    Affects Version/s:     (was: 0.20.205.0)
        Fix Version/s:     (was: 0.20.205.0)
    
> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.204.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>             Fix For: 0.20.204.0
>
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Sherry Chen commented on MAPREDUCE-2621:
----------------------------------------

ant test passed.

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>             Fix For: 0.20.205.0
>
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Sherry Chen commented on MAPREDUCE-2621:
----------------------------------------

      This patch is for the 20-security branch, so here are the results of the manual test-patch run:

     [exec] 
     [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 6 new or modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.
     [exec] 


> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>         Attachments: MAPREDUCE-2621.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Sherry Chen updated MAPREDUCE-2621:
-----------------------------------

    Attachment: MAPREDUCE-2621_1.patch

Consolidated getJobTracker method.

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Matt Foley updated MAPREDUCE-2621:
----------------------------------

    Fix Version/s: 0.20.204.0

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.204.0, 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>             Fix For: 0.20.204.0, 0.20.205.0
>
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Matt Foley updated MAPREDUCE-2621:
----------------------------------

    Affects Version/s: 0.20.204.0

This was merged to 0.20-security-204:
------------------------------------------------------------------------
r1150857 | ddas | 2011-07-25 19:28:14 +0000 (Mon, 25 Jul 2011) | 1 line

Merge -r 1150527:1150528 from branch-0.20-security onto branch-0.20-security-204
------------------------------------------------------------------------

The merged -r1150527:1150528 is really -c1150528, which is seen above to be the fix for this bug MAPREDUCE-2621 in the 0.20-security branch.

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.204.0, 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>             Fix For: 0.20.205.0
>
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Hadoop QA commented on MAPREDUCE-2621:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12485784/MAPREDUCE-2621_1.patch
  against trunk revision 1144403.

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

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

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/451//console

This message is automatically generated.

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Mahadev konar updated MAPREDUCE-2621:
-------------------------------------

    Fix Version/s: 0.20.205.0

+1, the patch looks good. Any chance you could post the ant test results on the jira?

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>             Fix For: 0.20.205.0
>
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Sherry Chen updated MAPREDUCE-2621:
-----------------------------------

    Status: Patch Available  (was: Open)

Testcase for TestCapacityScheduler all passed.

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>         Attachments: MAPREDUCE-2621.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Sherry Chen updated MAPREDUCE-2621:
-----------------------------------

    Attachment: MAPREDUCE-2621.patch

QueueManager is added as a parameter of JobTracker constructor.

This ensures the JobTracker to associate with the proper queue.

Full tests are running to ensure there is no side effects.

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>         Attachments: MAPREDUCE-2621.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Mahadev konar updated MAPREDUCE-2621:
-------------------------------------

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

I just committed this. Thanks Sherry!

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>             Fix For: 0.20.205.0
>
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Sherry Chen commented on MAPREDUCE-2621:
----------------------------------------

the results of the manual test-patch run:

     [exec] 
     [exec] BUILD SUCCESSFUL
     [exec] Total time: 6 minutes 1 second
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 6 new or modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] ======================================================================
     [exec] ======================================================================
     [exec]     Finished build.
     [exec] ======================================================================
     [exec] ======================================================================
     [exec] 


> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>             Fix For: 0.20.205.0
>
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Hadoop QA commented on MAPREDUCE-2621:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12483876/MAPREDUCE-2621.patch
  against trunk revision 1139400.

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

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

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/429//console

This message is automatically generated.

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>         Attachments: MAPREDUCE-2621.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-2621) TestCapacityScheduler fails with "Queue "q1" does not exist"

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

Jeffrey Naisbitt commented on MAPREDUCE-2621:
---------------------------------------------

+1
Looks good to me.  

> TestCapacityScheduler fails with "Queue "q1" does not exist"
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2621
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2621
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>         Environment: 0.20.1xx-Secondary 
>            Reporter: Sherry Chen
>            Assignee: Sherry Chen
>            Priority: Minor
>         Attachments: MAPREDUCE-2621.patch, MAPREDUCE-2621_1.patch
>
>
> {quote}
> Error Message
> Queue "q1" does not exist
> Stacktrace
> java.io.IOException: Queue "q1" does not exist
> 	at org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:354)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler$FakeJobInProgress.<init>(TestCapacityScheduler.java:172)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:794)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJob(TestCapacityScheduler.java:818)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.submitJobAndInit(TestCapacityScheduler.java:825)
> 	at org.apache.hadoop.mapred.TestCapacityScheduler.testMultiTaskAssignmentInMultipleQueues(TestCapacityScheduler.java:1109)
> {quote}
> When queue name is invalid, an exception is thrown now. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira