This is an automated email from the ASF dual-hosted git repository.
agupta 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 ab16cbe05d HDDS-11507. Add error information to log while handling
ServiceException. (#7367)
ab16cbe05d is described below
commit ab16cbe05dd7bb097c5d3895fa438a0330532749
Author: Abhishek Pal <[email protected]>
AuthorDate: Tue Oct 29 13:31:18 2024 +0530
HDDS-11507. Add error information to log while handling ServiceException.
(#7367)
---
.../apache/hadoop/ozone/om/service/AbstractKeyDeletingService.java | 4 ++--
.../org/apache/hadoop/ozone/om/service/OMRangerBGSyncService.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/AbstractKeyDeletingService.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/AbstractKeyDeletingService.java
index 7559cf9a72..76c16232e3 100644
---
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/AbstractKeyDeletingService.java
+++
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/AbstractKeyDeletingService.java
@@ -252,7 +252,7 @@ public abstract class AbstractKeyDeletingService extends
BackgroundService
try {
OzoneManagerRatisUtils.submitRequest(ozoneManager, omRequest, clientId,
runCount.get());
} catch (ServiceException e) {
- LOG.error("PurgeKey request failed. Will retry at next run.");
+ LOG.error("PurgeKey request failed. Will retry at next run.", e);
return 0;
}
@@ -307,7 +307,7 @@ public abstract class AbstractKeyDeletingService extends
BackgroundService
try {
OzoneManagerRatisUtils.submitRequest(ozoneManager, omRequest, clientId,
runCount.get());
} catch (ServiceException e) {
- LOG.error("PurgePaths request failed. Will retry at next run.");
+ LOG.error("PurgePaths request failed. Will retry at next run.", e);
}
}
diff --git
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/OMRangerBGSyncService.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/OMRangerBGSyncService.java
index 768c77ad16..fc6fe2b0c4 100644
---
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/OMRangerBGSyncService.java
+++
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/OMRangerBGSyncService.java
@@ -390,7 +390,7 @@ public class OMRangerBGSyncService extends
BackgroundService {
OzoneManagerRatisUtils.submitRequest(ozoneManager, omRequest, CLIENT_ID,
runCount.get());
} catch (ServiceException e) {
LOG.error("SetRangerServiceVersion request failed. "
- + "Will retry at next run.");
+ + "Will retry at next run.", e);
throw e;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]