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 9094217ba08..0cd407a5e78 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,
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 7472a5402d2..b850c7c462f 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -103,7 +103,7 @@
1.0.0-M33
- 0.3.0-9b84d79-SNAPSHOT
+ 0.3.0-9b2d7b6-SNAPSHOT
1.0-alpha-1
3.3.1
2.4.12