This is an automated email from the ASF dual-hosted git repository.

adoroszlai 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 1cbee607f8 HDDS-10802. Improve logging for signature verification 
(#6630)
1cbee607f8 is described below

commit 1cbee607f83d70d85239c641e90b712bd0d5d187
Author: tanvipenumudy <[email protected]>
AuthorDate: Mon May 6 13:45:07 2024 +0530

    HDDS-10802. Improve logging for signature verification (#6630)
---
 .../apache/hadoop/ozone/security/OzoneDelegationTokenSecretManager.java | 2 ++
 1 file changed, 2 insertions(+)

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 a76810e1fe..a6fe61eb48 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
@@ -441,10 +441,12 @@ public class OzoneDelegationTokenSecretManager
       signerCert = getCertClient().getCertificate(
           identifier.getOmCertSerialId());
     } catch (CertificateException e) {
+      LOG.error("getCertificate failed for serialId {}", 
identifier.getOmCertSerialId(), e);
       return false;
     }
 
     if (signerCert == null) {
+      LOG.error("signerCert is null for serialId {}", 
identifier.getOmCertSerialId());
       return false;
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to