This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 265e4b90a40 HDDS-13600. Log s3 secret error at WARN level rather than
ERROR (#8967)
265e4b90a40 is described below
commit 265e4b90a40e7fa42f489b14261cb61046caa43f
Author: Ajay Singh <[email protected]>
AuthorDate: Thu Aug 28 02:39:36 2025 +0530
HDDS-13600. Log s3 secret error at WARN level rather than ERROR (#8967)
Reviewed-by: Sarveksha Yeshavantha Raju <[email protected]>
Signed-off-by: Wei-Chiu Chuang <[email protected]>
---
.../apache/hadoop/ozone/security/OzoneDelegationTokenSecretManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/security/OzoneDelegationTokenSecretManager.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/security/OzoneDelegationTokenSecretManager.java
index 5a53740416f..01818aa2d57 100644
---
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/security/OzoneDelegationTokenSecretManager.java
+++
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/security/OzoneDelegationTokenSecretManager.java
@@ -484,7 +484,7 @@ private byte[] validateS3AuthInfo(OzoneTokenIdentifier
identifier)
awsSecret = s3SecretManager.getSecretString(identifier
.getAwsAccessId());
} catch (IOException e) {
- LOG.error("Error while validating S3 identifier:{}",
+ LOG.warn("S3 identifier validation failed:{}",
identifier, e);
throw new InvalidToken("No S3 secret found for S3 identifier:"
+ identifier);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]