hadoop-ozone-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [hadoop-ozone] branch master updated: HDDS-2972. Any container replication error can terminate SCM service
Date Mon, 10 Feb 2020 14:04:44 GMT
This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e7eb1e  HDDS-2972. Any container replication error can terminate SCM service
3e7eb1e is described below

commit 3e7eb1ee71ec8ca31bd659811b7292100d904322
Author: Yiqun Lin <yqlin@apache.org>
AuthorDate: Mon Feb 10 15:04:07 2020 +0100

    HDDS-2972. Any container replication error can terminate SCM service
    
    Closes #515
---
 .../java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java
index bfa411d..9c1d9ad 100644
--- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java
+++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java
@@ -330,6 +330,8 @@ public class ReplicationManager implements MetricsSource {
 
     } catch (ContainerNotFoundException ex) {
       LOG.warn("Missing container {}.", id);
+    } catch (Exception ex) {
+      LOG.warn("Process container {} error: ", id, ex);
     } finally {
       lockManager.unlock(id);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org


Mime
View raw message