[
https://issues.apache.org/jira/browse/HADOOP-19612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016173#comment-18016173
]
ASF GitHub Bot commented on HADOOP-19612:
-----------------------------------------
hadoop-yetus commented on PR #7844:
URL: https://github.com/apache/hadoop/pull/7844#issuecomment-3222376288
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 4m 1s | | 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.
|
| +0 :ok: | buf | 0m 0s | | buf was not available. |
| +0 :ok: | buf | 0m 0s | | buf 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 2 new or modified test files. |
|||| _ branch-3.3 Compile Tests _ |
| +0 :ok: | mvndep | 16m 36s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 21m 28s | | branch-3.3 passed |
| +1 :green_heart: | compile | 11m 3s | | branch-3.3 passed |
| +1 :green_heart: | checkstyle | 1m 23s | | branch-3.3 passed |
| +1 :green_heart: | mvnsite | 2m 5s | | branch-3.3 passed |
| +1 :green_heart: | javadoc | 1m 47s | | branch-3.3 passed |
| +1 :green_heart: | spotbugs | 3m 28s | | branch-3.3 passed |
| +1 :green_heart: | shadedclient | 21m 39s | | branch has no errors
when building and testing our client artifacts. |
|||| _ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 20s | | Maven dependency ordering for patch |
| +1 :green_heart: | mvninstall | 1m 30s | | the patch passed |
| +1 :green_heart: | compile | 10m 46s | | the patch passed |
| +1 :green_heart: | cc | 10m 46s | | the patch passed |
| +1 :green_heart: | javac | 10m 46s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| -0 :warning: | checkstyle | 1m 19s |
[/results-checkstyle-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7844/5/artifact/out/results-checkstyle-root.txt)
| root: The patch generated 3 new + 168 unchanged - 3 fixed = 171 total (was
171) |
| +1 :green_heart: | mvnsite | 2m 5s | | the patch passed |
| +1 :green_heart: | javadoc | 1m 44s | | the patch passed |
| +1 :green_heart: | spotbugs | 3m 30s | | the patch passed |
| +1 :green_heart: | shadedclient | 21m 48s | | patch has no errors
when building and testing our client artifacts. |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 15m 25s | | hadoop-common in the patch
passed. |
| -1 :x: | unit | 169m 56s |
[/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7844/5/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt)
| hadoop-hdfs in the patch passed. |
| +1 :green_heart: | asflicense | 0m 47s | | The patch does not
generate ASF License warnings. |
| | | 312m 32s | | |
| Reason | Tests |
|-------:|:------|
| Failed junit tests | hadoop.hdfs.server.datanode.TestDirectoryScanner |
| | hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade |
| | hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes |
| | hadoop.hdfs.server.mover.TestMover |
| |
hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaRecovery |
| | hadoop.hdfs.server.datanode.TestLargeBlockReport |
| | hadoop.hdfs.protocol.TestBlockListAsLongs |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.51 ServerAPI=1.51 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7844/5/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/7844 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc buflint
bufcompat |
| uname | Linux 3c6d55e3cdfd 5.15.0-142-generic #152-Ubuntu SMP Mon May 19
10:54:31 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | branch-3.3 / e1ca635de86907bced4ccad61435921029972f8b |
| Default Java | Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09 |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7844/5/testReport/ |
| Max. process+thread count | 4834 (vs. ulimit of 5500) |
| modules | C: hadoop-common-project/hadoop-common
hadoop-hdfs-project/hadoop-hdfs U: . |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7844/5/console |
| versions | git=2.17.1 maven=3.6.0 spotbugs=4.2.2 |
| Powered by | Apache Yetus 0.14.0 https://yetus.apache.org |
This message was automatically generated.
> Add Support for Propagating Access Token via RPC Header in HDFS
> ---------------------------------------------------------------
>
> Key: HADOOP-19612
> URL: https://issues.apache.org/jira/browse/HADOOP-19612
> Project: Hadoop Common
> Issue Type: New Feature
> Components: hadoop-common
> Reporter: Tom McCormick
> Assignee: Tom McCormick
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> *Description:*
> To support modern authentication models (e.g., bearer tokens, OAuth2), we
> propose adding support in HDFS to propagate an access token via the RPC
> request header. This enables downstream services (e.g., NameNode, Router) to
> validate access tokens in a secure and standardized way.
> The token will be passed in a dedicated field in the
> {{{}RpcRequestHeaderProto{}}}, mimicking the behavior of an HTTP
> {{Authorization: Bearer <token>}} header. The caller context or UGI may
> extract this token and use it for authorization decisions or auditing.
> *Benefits:*
> * Enables secure, token-based authentication in multi-tenant environments
> * Lays the foundation for fine-grained, per-request authorization
> *Scope:*
> * Add optional {{authorization_token}} field to RPC header
> * Ensure token is thread-local or caller-context scoped
> * Wire it through relevant client and server code paths
> * Provide configuration to enable/disable this feature
> *Notes:*
> This feature is intended to be backward-compatible with existing HDFS
> clients. If the token is not set, behavior will remain unchanged.
> At Linkedin, we plan to delegate auth to a custom enforcement point in RBF.
> The workflow is the client will get an access token and pass that in the RPC.
> The request and access token will be authorized in the custom authorizer.
>
>
> *PR*
> [https://github.com/apache/hadoop/pull/7803/files#diff-55740268215623b4037dd1bd35200c383576bee23d444096eb9cee751e3728f3]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]