You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ri...@apache.org on 2022/08/22 16:45:04 UTC
[ozone] branch master updated: HDDS-7157. Log the error msg explicitly in BlockDeletingService (#3704)
This is an automated email from the ASF dual-hosted git repository.
ritesh 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 5ea8e6ab3f HDDS-7157. Log the error msg explicitly in BlockDeletingService (#3704)
5ea8e6ab3f is described below
commit 5ea8e6ab3f1103829314da102ac3342c57ab8b9f
Author: Nibiru <ax...@qq.com>
AuthorDate: Tue Aug 23 00:44:58 2022 +0800
HDDS-7157. Log the error msg explicitly in BlockDeletingService (#3704)
---
.../keyvalue/statemachine/background/BlockDeletingService.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/statemachine/background/BlockDeletingService.java b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/statemachine/background/BlockDeletingService.java
index d3599af9e9..7234527acf 100644
--- a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/statemachine/background/BlockDeletingService.java
+++ b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/statemachine/background/BlockDeletingService.java
@@ -168,9 +168,7 @@ public class BlockDeletingService extends BackgroundService {
+ "Retry in next interval. ", e);
} catch (Exception e) {
// In case listContainer call throws any uncaught RuntimeException.
- if (LOG.isDebugEnabled()) {
- LOG.debug("Unexpected error occurs during deleting blocks.", e);
- }
+ LOG.error("Unexpected error occurs during deleting blocks.", e);
}
return queue;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org