[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-23 Thread Vinod Kumar Vavilapalli (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13461552#comment-13461552
 ] 

Vinod Kumar Vavilapalli commented on YARN-53:
-

Wanted to point out that the test can be simplified by using MiniYarnCluster if 
the groups-tools didn't belong to RM package (which is how it should be 
anyways). Will open a separate ticket for moving out tools into the client 
package.

 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
  Labels: patch
 Fix For: 2.0.0-alpha

 Attachments: MAPREDUCE-4268.patch, YARN-53.patch, YARN-53-v2.patch, 
 YARN-53-v3.patch, YARN-53-v4.patch, YARN-53-v5.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-23 Thread Vinod Kumar Vavilapalli (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13461550#comment-13461550
 ] 

Vinod Kumar Vavilapalli commented on YARN-53:
-

The update patch looks good, Bo! Particularly I like that we are not starting a 
new server for looking up groups (which I somehow missed earlier). There is far 
lesser code-duplication now, even without HADOOP-8805.

+1 for the patch. Tested on a single node. Committing this.

 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
  Labels: patch
 Fix For: 2.0.0-alpha

 Attachments: MAPREDUCE-4268.patch, YARN-53.patch, YARN-53-v2.patch, 
 YARN-53-v3.patch, YARN-53-v4.patch, YARN-53-v5.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-23 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13461557#comment-13461557
 ] 

Hudson commented on YARN-53:


Integrated in Hadoop-Common-trunk-Commit #2759 (See 
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2759/])
YARN-53. Added the missing getGroups API to ResourceManager. Contributed by 
Bo Wang. (Revision 1389176)

 Result = SUCCESS
vinodkv : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1389176
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/api/RMAdminProtocol.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/api/impl/pb/client/RMAdminProtocolPBClientImpl.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/api/impl/pb/service/RMAdminProtocolPBServiceImpl.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/tools/RMAdmin.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/proto/RMAdminProtocol.proto
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/proto/yarn_server_resourcemanager_service_protos.proto
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/tools
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/tools/GetGroupsForTesting.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/tools/TestGetGroups.java


 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
  Labels: patch
 Fix For: 2.0.0-alpha

 Attachments: MAPREDUCE-4268.patch, YARN-53.patch, YARN-53-v2.patch, 
 YARN-53-v3.patch, YARN-53-v4.patch, YARN-53-v5.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-23 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13461558#comment-13461558
 ] 

Hudson commented on YARN-53:


Integrated in Hadoop-Hdfs-trunk-Commit #2822 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2822/])
YARN-53. Added the missing getGroups API to ResourceManager. Contributed by 
Bo Wang. (Revision 1389176)

 Result = SUCCESS
vinodkv : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1389176
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/api/RMAdminProtocol.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/api/impl/pb/client/RMAdminProtocolPBClientImpl.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/api/impl/pb/service/RMAdminProtocolPBServiceImpl.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/tools/RMAdmin.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/proto/RMAdminProtocol.proto
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/proto/yarn_server_resourcemanager_service_protos.proto
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/tools
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/tools/GetGroupsForTesting.java
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/tools/TestGetGroups.java


 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
  Labels: patch
 Fix For: 2.0.0-alpha

 Attachments: MAPREDUCE-4268.patch, YARN-53.patch, YARN-53-v2.patch, 
 YARN-53-v3.patch, YARN-53-v4.patch, YARN-53-v5.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-19 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13459104#comment-13459104
 ] 

Hadoop QA commented on YARN-53:
---

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12545635/YARN-53-v4.patch
  against trunk revision .

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

-1 tests included.  The patch doesn't appear to include any new or modified 
tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

+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-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager.

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

Test results: https://builds.apache.org/job/PreCommit-YARN-Build/44//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/44//console

This message is automatically generated.

 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
  Labels: patch
 Fix For: 2.0.0-alpha

 Attachments: MAPREDUCE-4268.patch, YARN-53.patch, YARN-53-v2.patch, 
 YARN-53-v3.patch, YARN-53-v4.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-19 Thread Alejandro Abdelnur (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13459165#comment-13459165
 ] 

Alejandro Abdelnur commented on YARN-53:


+1. Seems much simpler this way (without having to do HADOOP-8805). I'll 
crosspost in HADOOP-8805 and wait for Suresh/Todd comments before committing.

 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
  Labels: patch
 Fix For: 2.0.0-alpha

 Attachments: MAPREDUCE-4268.patch, YARN-53.patch, YARN-53-v2.patch, 
 YARN-53-v3.patch, YARN-53-v4.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-19 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13459234#comment-13459234
 ] 

Hadoop QA commented on YARN-53:
---

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12545828/YARN-53-v5.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-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager.

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

Test results: https://builds.apache.org/job/PreCommit-YARN-Build/45//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/45//console

This message is automatically generated.

 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
  Labels: patch
 Fix For: 2.0.0-alpha

 Attachments: MAPREDUCE-4268.patch, YARN-53.patch, YARN-53-v2.patch, 
 YARN-53-v3.patch, YARN-53-v4.patch, YARN-53-v5.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-06 Thread Bo Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13450100#comment-13450100
 ] 

Bo Wang commented on YARN-53:
-

Hi Vinod,

Thanks for looking at the patch. I'd like to clarify the two comments.

- To reflect YARN-1, do you mean move org.apache.hadoop.mapred.tools.GetGroups 
to org.apache.hadoop.yarn.tools.GetGroups?
  Currently there is no such package in hadoop-yarn-common yet, but I can 
create one. Actually, bin/yarn rmadmin -getGroups doesn't call to 
org.apache.hadoop.mapred.tools.GetGroups but 
org.apache.hadoop.yarn.server.resourcemanager.tools.RMAdmin. GetGroups can be 
left there for backward compatibility or removed directly.

- I am not sure what definitions in HDFS you referred to. Would you mind giving 
it a bit more elaboration?

Thanks,
Bo


 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.1.0-alpha
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
  Labels: patch
 Fix For: 2.1.0-alpha

 Attachments: MAPREDUCE-4268.patch, YARN-53.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-09-04 Thread Arun C Murthy (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13447893#comment-13447893
 ] 

Arun C Murthy commented on YARN-53:
---

Yes, it's fine to port get* commands from bin/mapred to bin/yarn as they make 
sense.

 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.1.0-alpha
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
 Attachments: MAPREDUCE-4268.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-53) Add protocol to YARN to support GetGroups

2012-08-29 Thread Bo Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13444517#comment-13444517
 ] 

Bo Wang commented on YARN-53:
-

Hi Arun, thanks for the feedback. I have a question that currently bin/yarn 
rmadmin is a set of refresh commands. Would query commands (e.g. bin/mapred 
groups) also be added there?

 Add protocol to YARN to support GetGroups
 -

 Key: YARN-53
 URL: https://issues.apache.org/jira/browse/YARN-53
 Project: Hadoop YARN
  Issue Type: Bug
  Components: resourcemanager
Affects Versions: 2.1.0-alpha
Reporter: Alejandro Abdelnur
Assignee: Bo Wang
 Attachments: MAPREDUCE-4268.patch


 This is a regression from Hadoop1, as hadoop mrgroups fails with:
 {code}
 Exception in thread main java.lang.UnsupportedOperationException
   at 
 org.apache.hadoop.mapred.tools.GetGroups.getProtocolAddress(GetGroups.java:50)
   at 
 org.apache.hadoop.tools.GetGroupsBase.getUgmProtocol(GetGroupsBase.java:98)
   at org.apache.hadoop.tools.GetGroupsBase.run(GetGroupsBase.java:71)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
   at org.apache.hadoop.mapred.tools.GetGroups.main(GetGroups.java:54)
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira