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 "Nishan Shetty (JIRA)" <ji...@apache.org> on 2012/05/28 16:51:24 UTC
[jira] [Created] (MAPREDUCE-4287) jobClient.getQueues () API is
giving zero by default
Nishan Shetty created MAPREDUCE-4287:
----------------------------------------
Summary: jobClient.getQueues () API is giving zero by default
Key: MAPREDUCE-4287
URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: mrv2
Affects Versions: 2.0.0-alpha
Reporter: Nishan Shetty
getQueues () API is returning zero instead of one
By default "default" queue will be there so the API should return one
--
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-4287) jobClient.getQueues () API is
giving empty by default
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284761#comment-13284761 ]
Hadoop QA commented on MAPREDUCE-4287:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12530033/MAPREDUCE-4287-1.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 2 new or modified test files.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2420//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2420//console
This message is automatically generated.
> jobClient.getQueues () API is giving empty by default
> -----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha, 2.0.1-alpha, 3.0.0
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287-1.patch, MAPREDUCE-4287.patch
>
>
> getQueues () API is returning empty instead of giving default queue info.
> By default "default" queue will be there so the API should return default queue info.
--
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] [Updated] (MAPREDUCE-4287) jobClient.getQueues () API is
giving empty by default
Posted by "Devaraj K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4287:
---------------------------------
Attachment: MAPREDUCE-4287-1.patch
> jobClient.getQueues () API is giving empty by default
> -----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha, 2.0.1-alpha, 3.0.0
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287-1.patch, MAPREDUCE-4287.patch
>
>
> getQueues () API is returning empty instead of giving default queue info.
> By default "default" queue will be there so the API should return default queue info.
--
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] [Updated] (MAPREDUCE-4287) jobClient.getQueues () API is
giving zero by default
Posted by "Devaraj K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4287:
---------------------------------
Attachment: MAPREDUCE-4287.patch
> jobClient.getQueues () API is giving zero by default
> ----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287.patch
>
>
> getQueues () API is returning zero instead of one
> By default "default" queue will be there so the API should return one
--
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] [Assigned] (MAPREDUCE-4287) jobClient.getQueues () API is
giving zero by default
Posted by "Devaraj K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K reassigned MAPREDUCE-4287:
------------------------------------
Assignee: Devaraj K
> jobClient.getQueues () API is giving zero by default
> ----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha
> Reporter: Nishan Shetty
> Assignee: Devaraj K
>
> getQueues () API is returning zero instead of one
> By default "default" queue will be there so the API should return one
--
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] [Updated] (MAPREDUCE-4287) jobClient.getQueues () API is
giving empty by default
Posted by "Devaraj K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4287:
---------------------------------
Status: Open (was: Patch Available)
> jobClient.getQueues () API is giving empty by default
> -----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha, 2.0.1-alpha, 3.0.0
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287.patch
>
>
> getQueues () API is returning empty instead of giving default queue info.
> By default "default" queue will be there so the API should return default queue info.
--
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-4287) jobClient.getQueues () API is
giving empty by default
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284649#comment-13284649 ]
Hadoop QA commented on MAPREDUCE-4287:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12530009/MAPREDUCE-4287.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 1 new or modified test files.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient:
org.apache.hadoop.mapreduce.v2.TestYARNRunner
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2419//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2419//console
This message is automatically generated.
> jobClient.getQueues () API is giving empty by default
> -----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha, 2.0.1-alpha, 3.0.0
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287.patch
>
>
> getQueues () API is returning empty instead of giving default queue info.
> By default "default" queue will be there so the API should return default queue info.
--
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] [Updated] (MAPREDUCE-4287) jobClient.getQueues () API is
giving empty by default
Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kumar Vavilapalli updated MAPREDUCE-4287:
-----------------------------------------------
Status: Open (was: Patch Available)
Even the command line "queue -list" returns empty, we should fix "getRootQueues()" too.
Regarding the solution, it seems wrong that we are adding root queue also to the list. For better or worse, CapacityScheduler introduced the concept of a root queue which is *hidden* from users. With the patch, we are now exposing the root queue to the users. Instead if we change FifoScheduler to also have root->default queue hierarchy, this will be automatically solved, what do you think? Granted, we will need to fix some tests..
> jobClient.getQueues () API is giving empty by default
> -----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha, 2.0.1-alpha, 3.0.0
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287-1.patch, MAPREDUCE-4287.patch
>
>
> getQueues () API is returning empty instead of giving default queue info.
> By default "default" queue will be there so the API should return default queue info.
--
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] [Updated] (MAPREDUCE-4287) jobClient.getQueues () API is
giving empty by default
Posted by "Devaraj K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4287:
---------------------------------
Status: Patch Available (was: Open)
I have attached patch with the test fix.
> jobClient.getQueues () API is giving empty by default
> -----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha, 2.0.1-alpha, 3.0.0
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287-1.patch, MAPREDUCE-4287.patch
>
>
> getQueues () API is returning empty instead of giving default queue info.
> By default "default" queue will be there so the API should return default queue info.
--
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] [Updated] (MAPREDUCE-4287) jobClient.getQueues () API is
giving empty by default
Posted by "Devaraj K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4287:
---------------------------------
Description:
getQueues () API is returning empty instead of giving default queue info.
By default "default" queue will be there so the API should return default queue info.
was:
getQueues () API is returning zero instead of one
By default "default" queue will be there so the API should return one
Summary: jobClient.getQueues () API is giving empty by default (was: jobClient.getQueues () API is giving zero by default)
> jobClient.getQueues () API is giving empty by default
> -----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha, 2.0.1-alpha, 3.0.0
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287.patch
>
>
> getQueues () API is returning empty instead of giving default queue info.
> By default "default" queue will be there so the API should return default queue info.
--
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] [Updated] (MAPREDUCE-4287) jobClient.getQueues () API is
giving zero by default
Posted by "Devaraj K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4287:
---------------------------------
Affects Version/s: 3.0.0
2.0.1-alpha
Status: Patch Available (was: Open)
I have attached patch to fix this issue.
> jobClient.getQueues () API is giving zero by default
> ----------------------------------------------------
>
> Key: MAPREDUCE-4287
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4287
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0-alpha, 2.0.1-alpha, 3.0.0
> Reporter: Nishan Shetty
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4287.patch
>
>
> getQueues () API is returning zero instead of one
> By default "default" queue will be there so the API should return one
--
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