[
https://issues.apache.org/jira/browse/HDFS-17940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18091748#comment-18091748
]
ASF GitHub Bot commented on HDFS-17940:
---------------------------------------
drewrukin opened a new pull request, #8565:
URL: https://github.com/apache/hadoop/pull/8565
### Description of PR
Mask WebHDFS delegation token query parameters before URLs are written to
client logs. This keeps the request URL unchanged for WebHDFS operations and
only changes TRACE/DEBUG log rendering for `delegation` and token argument
query parameters.
The masking uses locale-independent case conversion for query parameter
matching.
### How was this patch tested?
- `./mvnw -pl hadoop-hdfs-project/hadoop-hdfs-client -am -DskipTests
-DskipShade -DskipDist -DskipDocs -DskipJavadoc install`
- `./mvnw -pl hadoop-hdfs-project/hadoop-hdfs-client
-Dtest=TestWebHdfsUrlLogging test`
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [x] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation? Not
applicable.
- [x] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)? Only an existing
managed test dependency on AssertJ is added to `hadoop-hdfs-client`.
- [x] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files? Not applicable.
### AI Tooling
Contains content generated by OpenAI Codex.
- [x] The PR includes the phrase "Contains content generated by OpenAI
Codex".
- [x] My use of AI contributions follows the ASF legal policy
https://www.apache.org/legal/generative-tooling.html
> WebHDFS to log at TRACE better
> ------------------------------
>
> Key: HDFS-17940
> URL: https://issues.apache.org/jira/browse/HDFS-17940
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: webhdfs
> Affects Versions: 3.5.0, 3.4.3, 3.6.0
> Reporter: Steve Loughran
> Priority: Trivial
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]