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 16847d3600 HDDS-9958. Improve log for container not found in 
CloseContainerCommandHandler (#5925)
16847d3600 is described below

commit 16847d36008a20214a461be662c9f509ae5a4be2
Author: DaveTeng0 <[email protected]>
AuthorDate: Wed Jan 10 02:16:33 2024 -0800

    HDDS-9958. Improve log for container not found in 
CloseContainerCommandHandler (#5925)
---
 .../statemachine/commandhandler/CloseContainerCommandHandler.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/CloseContainerCommandHandler.java
 
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/CloseContainerCommandHandler.java
index 499dfa5afe..8533f7384d 100644
--- 
a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/CloseContainerCommandHandler.java
+++ 
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/CloseContainerCommandHandler.java
@@ -102,7 +102,8 @@ public class CloseContainerCommandHandler implements 
CommandHandler {
         final Container container = controller.getContainer(containerId);
 
         if (container == null) {
-          LOG.error("Container #{} does not exist in datanode. "
+          LOG.info("Container #{} does not exist in datanode. "
+              + "Its pipeline may have closed before it was created. "
               + "Container close failed.", containerId);
           return;
         }


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

Reply via email to