You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/09/05 12:52:57 UTC

[GitHub] [hadoop] ZanderXu opened a new pull request, #4853: HDFS-16756. RBF proxies the client's user by the login user to enable CacheEntry

ZanderXu opened a new pull request, #4853:
URL: https://github.com/apache/hadoop/pull/4853

   RBF just proxies the client's user by the login user for Kerberos authentication. 
   
   If the cluster uses the SIMPLE authentication method, the RBF will not proxies the client's user by the login user, the downstream namespace will not be able to use the real clientIp, clientPort, clientId and callId even if the namenode configured `dfs.namenode.ip-proxy-users`.
   
    And the related code of RBF as bellow:
   ```
   UserGroupInformation connUGI = ugi;
   if (UserGroupInformation.isSecurityEnabled()) {
     UserGroupInformation routerUser = UserGroupInformation.getLoginUser();
     connUGI = UserGroupInformation.createProxyUser(
         ugi.getUserName(), routerUser);
   }
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] ayushtkn merged pull request #4853: HDFS-16756. RBF proxies the client's user by the login user to enable CacheEntry

Posted by GitBox <gi...@apache.org>.
ayushtkn merged PR #4853:
URL: https://github.com/apache/hadoop/pull/4853


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] hadoop-yetus commented on pull request #4853: HDFS-16756. RBF proxies the client's user by the login user to enable CacheEntry

Posted by GitBox <gi...@apache.org>.
hadoop-yetus commented on PR #4853:
URL: https://github.com/apache/hadoop/pull/4853#issuecomment-1237627230

   :confetti_ball: **+1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime |  Logfile | Comment |
   |:----:|----------:|--------:|:--------:|:-------:|
   | +0 :ok: |  reexec  |   0m 53s |  |  Docker mode activated.  |
   |||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  |  No case conflicting files found.  |
   | +0 :ok: |  codespell  |   0m  1s |  |  codespell was not available.  |
   | +0 :ok: |  detsecrets  |   0m  1s |  |  detect-secrets was not available.  |
   | +1 :green_heart: |  @author  |   0m  0s |  |  The patch does not contain any @author tags.  |
   | +1 :green_heart: |  test4tests  |   0m  0s |  |  The patch appears to include 1 new or modified test files.  |
   |||| _ trunk Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |  42m 19s |  |  trunk passed  |
   | +1 :green_heart: |  compile  |   0m 51s |  |  trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04  |
   | +1 :green_heart: |  compile  |   0m 46s |  |  trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07  |
   | +1 :green_heart: |  checkstyle  |   0m 38s |  |  trunk passed  |
   | +1 :green_heart: |  mvnsite  |   0m 51s |  |  trunk passed  |
   | +1 :green_heart: |  javadoc  |   0m 56s |  |  trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04  |
   | +1 :green_heart: |  javadoc  |   1m  4s |  |  trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07  |
   | +1 :green_heart: |  spotbugs  |   1m 39s |  |  trunk passed  |
   | +1 :green_heart: |  shadedclient  |  24m 23s |  |  branch has no errors when building and testing our client artifacts.  |
   |||| _ Patch Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |   0m 37s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 41s |  |  the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04  |
   | +1 :green_heart: |  javac  |   0m 41s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 35s |  |  the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07  |
   | +1 :green_heart: |  javac  |   0m 35s |  |  the patch passed  |
   | +1 :green_heart: |  blanks  |   0m  0s |  |  The patch has no blanks issues.  |
   | +1 :green_heart: |  checkstyle  |   0m 20s |  |  the patch passed  |
   | +1 :green_heart: |  mvnsite  |   0m 38s |  |  the patch passed  |
   | +1 :green_heart: |  javadoc  |   0m 37s |  |  the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04  |
   | +1 :green_heart: |  javadoc  |   0m 53s |  |  the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07  |
   | +1 :green_heart: |  spotbugs  |   1m 26s |  |  the patch passed  |
   | +1 :green_heart: |  shadedclient  |  23m 39s |  |  patch has no errors when building and testing our client artifacts.  |
   |||| _ Other Tests _ |
   | +1 :green_heart: |  unit  |  32m 57s |  |  hadoop-hdfs-rbf in the patch passed.  |
   | +1 :green_heart: |  asflicense  |   0m 43s |  |  The patch does not generate ASF License warnings.  |
   |  |   | 138m 47s |  |  |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4853/2/artifact/out/Dockerfile |
   | GITHUB PR | https://github.com/apache/hadoop/pull/4853 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
   | uname | Linux 0390337bfa3e 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | trunk / 9b8d1f332d125e30434b0714762ea92ba26d6fdc |
   | Default Java | Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 |
   | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 |
   |  Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4853/2/testReport/ |
   | Max. process+thread count | 2360 (vs. ulimit of 5500) |
   | modules | C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf |
   | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4853/2/console |
   | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 |
   | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] hadoop-yetus commented on pull request #4853: HDFS-16756. RBF proxies the client's user by the login user to enable CacheEntry

Posted by GitBox <gi...@apache.org>.
hadoop-yetus commented on PR #4853:
URL: https://github.com/apache/hadoop/pull/4853#issuecomment-1237303695

   :broken_heart: **-1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime |  Logfile | Comment |
   |:----:|----------:|--------:|:--------:|:-------:|
   | +0 :ok: |  reexec  |   0m 54s |  |  Docker mode activated.  |
   |||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  |  No case conflicting files found.  |
   | +0 :ok: |  codespell  |   0m  0s |  |  codespell was not available.  |
   | +0 :ok: |  detsecrets  |   0m  0s |  |  detect-secrets was not available.  |
   | +1 :green_heart: |  @author  |   0m  0s |  |  The patch does not contain any @author tags.  |
   | +1 :green_heart: |  test4tests  |   0m  0s |  |  The patch appears to include 1 new or modified test files.  |
   |||| _ trunk Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |  40m 57s |  |  trunk passed  |
   | +1 :green_heart: |  compile  |   0m 52s |  |  trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04  |
   | +1 :green_heart: |  compile  |   0m 45s |  |  trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07  |
   | +1 :green_heart: |  checkstyle  |   0m 37s |  |  trunk passed  |
   | +1 :green_heart: |  mvnsite  |   0m 49s |  |  trunk passed  |
   | +1 :green_heart: |  javadoc  |   0m 58s |  |  trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04  |
   | +1 :green_heart: |  javadoc  |   1m  2s |  |  trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07  |
   | +1 :green_heart: |  spotbugs  |   1m 38s |  |  trunk passed  |
   | +1 :green_heart: |  shadedclient  |  24m  2s |  |  branch has no errors when building and testing our client artifacts.  |
   |||| _ Patch Compile Tests _ |
   | +1 :green_heart: |  mvninstall  |   0m 38s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 42s |  |  the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04  |
   | +1 :green_heart: |  javac  |   0m 42s |  |  the patch passed  |
   | +1 :green_heart: |  compile  |   0m 34s |  |  the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07  |
   | +1 :green_heart: |  javac  |   0m 34s |  |  the patch passed  |
   | +1 :green_heart: |  blanks  |   0m  0s |  |  The patch has no blanks issues.  |
   | +1 :green_heart: |  checkstyle  |   0m 21s |  |  the patch passed  |
   | +1 :green_heart: |  mvnsite  |   0m 38s |  |  the patch passed  |
   | +1 :green_heart: |  javadoc  |   0m 36s |  |  the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04  |
   | +1 :green_heart: |  javadoc  |   0m 56s |  |  the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07  |
   | +1 :green_heart: |  spotbugs  |   1m 26s |  |  the patch passed  |
   | +1 :green_heart: |  shadedclient  |  26m  7s |  |  patch has no errors when building and testing our client artifacts.  |
   |||| _ Other Tests _ |
   | -1 :x: |  unit  | 130m 58s | [/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4853/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt) |  hadoop-hdfs-rbf in the patch passed.  |
   | +1 :green_heart: |  asflicense  |   0m 42s |  |  The patch does not generate ASF License warnings.  |
   |  |   | 238m 14s |  |  |
   
   
   | Reason | Tests |
   |-------:|:------|
   | Failed junit tests | hadoop.hdfs.server.federation.fairness.TestRouterRefreshFairnessPolicyController |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractCreate |
   |   | hadoop.fs.contract.router.web.TestRouterWebHDFSContractSeek |
   |   | hadoop.hdfs.server.federation.metrics.TestNameserviceRPCMetrics |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractSetTimes |
   |   | hadoop.hdfs.server.federation.router.TestRouterUserMappings |
   |   | hadoop.hdfs.server.federation.router.TestRouterFederationRenamePermission |
   |   | hadoop.hdfs.server.federation.router.TestRouterAdminCLI |
   |   | hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination |
   |   | hadoop.hdfs.server.federation.router.TestRouterMountTable |
   |   | hadoop.hdfs.server.federation.router.TestRouterFederationRenameInKerberosEnv |
   |   | hadoop.hdfs.server.federation.router.TestRouterClientRejectOverload |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractConcatSecure |
   |   | hadoop.hdfs.server.federation.router.TestRouterWebHdfsMethods |
   |   | hadoop.hdfs.server.federation.router.TestRouterMultiRack |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractRootDirectorySecure |
   |   | hadoop.hdfs.server.federation.router.TestRouterNamenodeMonitoring |
   |   | hadoop.hdfs.server.federation.security.TestRouterHttpDelegationToken |
   |   | hadoop.hdfs.server.federation.router.TestRouterRpcStoragePolicySatisfier |
   |   | hadoop.hdfs.server.federation.router.TestRouterFederationRename |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractAppend |
   |   | hadoop.hdfs.server.federation.router.TestRouterRpc |
   |   | hadoop.hdfs.server.federation.router.TestRouterSafemode |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractAppendSecure |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractCreateSecure |
   |   | hadoop.hdfs.server.federation.fairness.TestRouterHandlersFairness |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractOpen |
   |   | hadoop.hdfs.server.federation.router.TestRouterRPCClientRetries |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractOpenSecure |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractRootDirectory |
   |   | hadoop.hdfs.server.federation.router.TestRouterAdminGenericRefresh |
   |   | hadoop.hdfs.server.federation.router.TestRouterMissingFolderMulti |
   |   | hadoop.hdfs.server.federation.router.TestRouterAllResolver |
   |   | hadoop.fs.contract.router.web.TestRouterWebHDFSContractMkdir |
   |   | hadoop.hdfs.server.federation.router.TestRouterWithSecureStartup |
   |   | hadoop.hdfs.server.federation.security.TestRouterSecurityManager |
   |   | hadoop.fs.contract.router.web.TestRouterWebHDFSContractCreate |
   |   | hadoop.hdfs.server.federation.router.TestRouterFaultTolerant |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractDeleteSecure |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractGetFileStatusSecure |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractGetFileStatus |
   |   | hadoop.hdfs.rbfbalance.TestMountTableProcedure |
   |   | hadoop.fs.contract.router.web.TestRouterWebHDFSContractDelete |
   |   | hadoop.hdfs.server.federation.router.TestRouterMountTableCacheRefresh |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractRename |
   |   | hadoop.hdfs.server.federation.router.TestRouterRPCMultipleDestinationMountTableResolver |
   |   | hadoop.hdfs.server.federation.router.TestRouterTrash |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractDelegationToken |
   |   | hadoop.hdfs.server.federation.router.TestRouterFsck |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractRenameSecure |
   |   | hadoop.hdfs.server.federation.router.TestRouterNamenodeWebScheme |
   |   | hadoop.hdfs.server.federation.router.TestRouterMountTableCacheRefreshSecure |
   |   | hadoop.hdfs.server.federation.router.TestDisableNameservices |
   |   | hadoop.hdfs.server.federation.router.TestRouterAdmin |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractSeek |
   |   | hadoop.hdfs.server.federation.router.TestRouterMountTableWithoutDefaultNS |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractSeekSecure |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractMkdir |
   |   | hadoop.fs.contract.router.web.TestRouterWebHDFSContractRename |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractConcat |
   |   | hadoop.hdfs.server.federation.router.TestRenewLeaseWithSameINodeId |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractSetTimesSecure |
   |   | hadoop.hdfs.server.federation.router.TestRouterRefreshSuperUserGroupsConfiguration |
   |   | hadoop.hdfs.server.federation.router.TestRouter |
   |   | hadoop.fs.contract.router.web.TestRouterWebHDFSContractAppend |
   |   | hadoop.hdfs.server.federation.router.TestRouterNetworkTopologyServlet |
   |   | hadoop.hdfs.rbfbalance.TestRouterDistCpProcedure |
   |   | hadoop.hdfs.server.federation.router.TestDisableRouterQuota |
   |   | hadoop.fs.contract.router.web.TestRouterWebHDFSContractConcat |
   |   | hadoop.hdfs.server.federation.router.TestSafeMode |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractDelete |
   |   | hadoop.hdfs.server.federation.router.TestRouterRpcSingleNS |
   |   | hadoop.hdfs.server.federation.metrics.TestRouterClientMetrics |
   |   | hadoop.fs.contract.router.web.TestRouterWebHDFSContractOpen |
   |   | hadoop.fs.contract.router.TestRouterHDFSContractMkdirSecure |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4853/1/artifact/out/Dockerfile |
   | GITHUB PR | https://github.com/apache/hadoop/pull/4853 |
   | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
   | uname | Linux 0cf60e147076 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | trunk / 5b2baaec77228e0aac3f8a286ca0bfb2eb32d1a8 |
   | Default Java | Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 |
   | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 |
   |  Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4853/1/testReport/ |
   | Max. process+thread count | 5319 (vs. ulimit of 5500) |
   | modules | C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf |
   | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4853/1/console |
   | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 |
   | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] ZanderXu commented on pull request #4853: HDFS-16756. RBF proxies the client's user by the login user to enable CacheEntry

Posted by GitBox <gi...@apache.org>.
ZanderXu commented on PR #4853:
URL: https://github.com/apache/hadoop/pull/4853#issuecomment-1240127645

   @ayushtkn Sir, can help me review this patch too? Thanks~


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org