hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject hadoop git commit: HDDS-625. putKey hangs for a long time after completion, sometimes forever. Contributed by Arpit Agarwal
Date Fri, 12 Oct 2018 02:54:57 GMT
Repository: hadoop
Updated Branches:
  refs/heads/ozone-0.3 587e29909 -> d72acd6bd


HDDS-625. putKey hangs for a long time after completion, sometimes forever.  Contributed by
Arpit Agarwal


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

Branch: refs/heads/ozone-0.3
Commit: d72acd6bd313b8f9a3b0a350abf7309aae6234ae
Parents: 587e299
Author: Tsz Wo Nicholas Sze <szetszwo@apache.org>
Authored: Fri Oct 12 10:37:37 2018 +0800
Committer: Tsz Wo Nicholas Sze <szetszwo@apache.org>
Committed: Fri Oct 12 10:49:33 2018 +0800

----------------------------------------------------------------------
 .../common/transport/server/ratis/XceiverServerRatis.java        | 4 +++-
 hadoop-project/pom.xml                                           | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/d72acd6b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java
----------------------------------------------------------------------
diff --git a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java
b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java
index 9094217..0cd407a 100644
--- a/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java
+++ b/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java
@@ -70,6 +70,7 @@ import java.net.InetSocketAddress;
 import java.net.ServerSocket;
 import java.net.SocketAddress;
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.List;
 import java.util.Objects;
 import java.util.UUID;
@@ -240,7 +241,8 @@ public final class XceiverServerRatis implements XceiverServerSpi {
 
     // Set the ratis storage directory
     String storageDir = HddsServerUtil.getOzoneDatanodeRatisDirectory(conf);
-    RaftServerConfigKeys.setStorageDir(properties, new File(storageDir));
+    RaftServerConfigKeys.setStorageDirs(properties,
+        Collections.singletonList(new File(storageDir)));
 
     // For grpc set the maximum message size
     GrpcConfigKeys.setMessageSizeMax(properties,

http://git-wip-us.apache.org/repos/asf/hadoop/blob/d72acd6b/hadoop-project/pom.xml
----------------------------------------------------------------------
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 5932c38..dae075f 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -101,7 +101,7 @@
     <ldap-api.version>1.0.0-M33</ldap-api.version>
 
     <!-- Apache Ratis version -->
-    <ratis.version>0.3.0-9b84d79-SNAPSHOT</ratis.version>
+    <ratis.version>0.3.0-9b2d7b6-SNAPSHOT</ratis.version>
     <jcache.version>1.0-alpha-1</jcache.version>
     <ehcache.version>3.3.1</ehcache.version>
     <hikari.version>2.4.12</hikari.version>


---------------------------------------------------------------------
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