hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject hadoop git commit: HDFS-10932. Ozone: fix XceiverClient slow shutdown. Contributed by Chen Liang.
Date Sat, 01 Oct 2016 00:13:10 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 595257e3f -> 4217f8520


HDFS-10932. Ozone: fix XceiverClient slow shutdown. Contributed by Chen Liang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4217f852
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4217f852
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4217f852

Branch: refs/heads/HDFS-7240
Commit: 4217f8520266380db436ad520399eb86ca7b669a
Parents: 595257e
Author: Anu Engineer <aengineer@apache.org>
Authored: Fri Sep 30 17:12:43 2016 -0700
Committer: Anu Engineer <aengineer@apache.org>
Committed: Fri Sep 30 17:12:43 2016 -0700

----------------------------------------------------------------------
 .../ozone/container/common/transport/client/XceiverClient.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4217f852/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/container/common/transport/client/XceiverClient.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/container/common/transport/client/XceiverClient.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/container/common/transport/client/XceiverClient.java
index 5a67f1b..d25119b 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/container/common/transport/client/XceiverClient.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/container/common/transport/client/XceiverClient.java
@@ -36,6 +36,7 @@ import org.slf4j.LoggerFactory;
 
 import java.io.Closeable;
 import java.io.IOException;
+import java.util.concurrent.TimeUnit;
 
 /**
  * A Client for the storageContainer protocol.
@@ -96,7 +97,7 @@ public class XceiverClient implements Closeable {
   @Override
   public void close() {
     if(group != null) {
-      group.shutdownGracefully();
+      group.shutdownGracefully(0, 0, TimeUnit.SECONDS);
     }
 
     if (channelFuture != null) {


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


Mime
View raw message