[jira] [Comment Edited] (HDFS-13129) Add a test for DfsAdmin refreshSuperUserGroupsConfiguration
[ https://issues.apache.org/jira/browse/HDFS-13129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441354#comment-16441354 ] Ajay Kumar edited comment on HDFS-13129 at 4/17/18 7:22 PM: [~bharatviswa] we can commit this. Exception i am getting is due to another bug in DefaultImpersonationProvider. Created [HADOOP-15395] for tracking it. [~msingh] thanks for root cause. +1 for latest patch. was (Author: ajayydv): [~bharatviswa] we can commit this. Exception i am getting is due to another bug in DefaultImpersonationProvider. [~msingh] thanks for root cause. +1 for latest patch. > Add a test for DfsAdmin refreshSuperUserGroupsConfiguration > --- > > Key: HDFS-13129 > URL: https://issues.apache.org/jira/browse/HDFS-13129 > Project: Hadoop HDFS > Issue Type: Test > Components: namenode >Reporter: Mukul Kumar Singh >Assignee: Mukul Kumar Singh >Priority: Minor > Attachments: HDFS-13129.001.patch, HDFS-13129.002.patch, > HDFS-13129.003.patch > > > UserGroup can be refreshed using -refreshSuperUserGroupsConfiguration. This > jira will add a test to verify that the user group information is updated > correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Comment Edited] (HDFS-13129) Add a test for DfsAdmin refreshSuperUserGroupsConfiguration
[ https://issues.apache.org/jira/browse/HDFS-13129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441354#comment-16441354 ] Ajay Kumar edited comment on HDFS-13129 at 4/17/18 7:11 PM: [~bharatviswa] we can commit this. Exception i am getting is due to another bug in DefaultImpersonationProvider. [~msingh] thanks for root cause. +1 for latest patch. was (Author: ajayydv): [~bharatviswa] we can commit this. Exception i am getting is due to another bug in DefaultImpersonationProvider. [~msingh] thanks for root cause. > Add a test for DfsAdmin refreshSuperUserGroupsConfiguration > --- > > Key: HDFS-13129 > URL: https://issues.apache.org/jira/browse/HDFS-13129 > Project: Hadoop HDFS > Issue Type: Test > Components: namenode >Reporter: Mukul Kumar Singh >Assignee: Mukul Kumar Singh >Priority: Minor > Attachments: HDFS-13129.001.patch, HDFS-13129.002.patch, > HDFS-13129.003.patch > > > UserGroup can be refreshed using -refreshSuperUserGroupsConfiguration. This > jira will add a test to verify that the user group information is updated > correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Comment Edited] (HDFS-13129) Add a test for DfsAdmin refreshSuperUserGroupsConfiguration
[ https://issues.apache.org/jira/browse/HDFS-13129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441354#comment-16441354 ] Ajay Kumar edited comment on HDFS-13129 at 4/17/18 7:07 PM: [~bharatviswa] we can commit this. Exception i am getting is due to another bug in DefaultImpersonationProvider. [~msingh] thanks for root cause. was (Author: ajayydv): [~bharatviswa] we can commit this. Exception i am getting is due to another bug in DefaultImpersonationProvider. > Add a test for DfsAdmin refreshSuperUserGroupsConfiguration > --- > > Key: HDFS-13129 > URL: https://issues.apache.org/jira/browse/HDFS-13129 > Project: Hadoop HDFS > Issue Type: Test > Components: namenode >Reporter: Mukul Kumar Singh >Assignee: Mukul Kumar Singh >Priority: Minor > Attachments: HDFS-13129.001.patch, HDFS-13129.002.patch, > HDFS-13129.003.patch > > > UserGroup can be refreshed using -refreshSuperUserGroupsConfiguration. This > jira will add a test to verify that the user group information is updated > correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Comment Edited] (HDFS-13129) Add a test for DfsAdmin refreshSuperUserGroupsConfiguration
[ https://issues.apache.org/jira/browse/HDFS-13129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441351#comment-16441351 ] Bharat Viswanadham edited comment on HDFS-13129 at 4/17/18 7:04 PM: +1 LGTM. And the test failures are not related to this patch. [~ajayydv] review comments are addressed in patch v03. Do you want to have a look into this once again? If no further comments will commit it. was (Author: bharatviswa): +1 LGTM. [~ajayydv] review comments are addressed in patch v03. Do you want to have a look into this once again? If no further comments will commit it. > Add a test for DfsAdmin refreshSuperUserGroupsConfiguration > --- > > Key: HDFS-13129 > URL: https://issues.apache.org/jira/browse/HDFS-13129 > Project: Hadoop HDFS > Issue Type: Test > Components: namenode >Reporter: Mukul Kumar Singh >Assignee: Mukul Kumar Singh >Priority: Minor > Attachments: HDFS-13129.001.patch, HDFS-13129.002.patch, > HDFS-13129.003.patch > > > UserGroup can be refreshed using -refreshSuperUserGroupsConfiguration. This > jira will add a test to verify that the user group information is updated > correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Comment Edited] (HDFS-13129) Add a test for DfsAdmin refreshSuperUserGroupsConfiguration
[ https://issues.apache.org/jira/browse/HDFS-13129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441351#comment-16441351 ] Bharat Viswanadham edited comment on HDFS-13129 at 4/17/18 7:04 PM: +1 LGTM. [~ajayydv] review comments are addressed in patch v03. Do you want to have a look into this once again? If no further comments will commit it. was (Author: bharatviswa): +1 LGTM. [~ajayydv] review comments are addressed in patch v03. Will commit this shortly. > Add a test for DfsAdmin refreshSuperUserGroupsConfiguration > --- > > Key: HDFS-13129 > URL: https://issues.apache.org/jira/browse/HDFS-13129 > Project: Hadoop HDFS > Issue Type: Test > Components: namenode >Reporter: Mukul Kumar Singh >Assignee: Mukul Kumar Singh >Priority: Minor > Attachments: HDFS-13129.001.patch, HDFS-13129.002.patch, > HDFS-13129.003.patch > > > UserGroup can be refreshed using -refreshSuperUserGroupsConfiguration. This > jira will add a test to verify that the user group information is updated > correctly. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Comment Edited] (HDFS-13129) Add a test for DfsAdmin refreshSuperUserGroupsConfiguration
[ https://issues.apache.org/jira/browse/HDFS-13129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359145#comment-16359145 ] Ajay Kumar edited comment on HDFS-13129 at 2/10/18 12:38 AM: - [~msingh], thanks for working on this. {{testRefreshProxyUser}} failed on my machine with below error. {code}org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: is not allowed to impersonate fakeuser at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1491) at org.apache.hadoop.ipc.Client.call(Client.java:1437) at org.apache.hadoop.ipc.Client.call(Client.java:1347) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116) at com.sun.proxy.$Proxy25.mkdirs(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:647) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422) at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165) at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157) at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359) at com.sun.proxy.$Proxy29.mkdirs(Unknown Source) at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:2356) at org.apache.hadoop.hdfs.DFSClient.mkdirs(DFSClient.java:2332) at org.apache.hadoop.hdfs.DistributedFileSystem$27.doCall(DistributedFileSystem.java:1320) at org.apache.hadoop.hdfs.DistributedFileSystem$27.doCall(DistributedFileSystem.java:1317) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirsInternal(DistributedFileSystem.java:1334) at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSystem.java:1309) at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:2326) at org.apache.hadoop.hdfs.tools.TestDFSAdmin$5.run(TestDFSAdmin.java:958) at org.apache.hadoop.hdfs.tools.TestDFSAdmin$5.run(TestDFSAdmin.java:955) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1965) at org.apache.hadoop.hdfs.tools.TestDFSAdmin.testRefreshProxyUser(TestDFSAdmin.java:955) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:369) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:275) at org.apache.maven.surefire.junit4.