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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to