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 abedcd4ae3..179547b844 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
@@ -266,7 +266,7 @@ private RaftProperties newRaftProperties() {
conf.getObject(RatisServerConfiguration.class);
int numSnapshotsRetained =
ratisServerConfiguration.getNumSnapshotsRetained();
- RaftServerConfigKeys.Snapshot.setSnapshotRetentionPolicy(properties,
+ RaftServerConfigKeys.Snapshot.setRetentionFileNum(properties,
numSnapshotsRetained);
return properties;
}
diff --git a/hadoop-hdds/pom.xml b/hadoop-hdds/pom.xml
index a1efb5b071..a17433732d 100644
--- a/hadoop-hdds/pom.xml
+++ b/hadoop-hdds/pom.xml
@@ -46,7 +46,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
0.5.0-SNAPSHOT
- 0.4.0
+ 0.5.0-201fc85-SNAPSHOT
1.60
diff --git a/hadoop-ozone/pom.xml b/hadoop-ozone/pom.xml
index 18a14228bb..3a8edf7fa0 100644
--- a/hadoop-ozone/pom.xml
+++ b/hadoop-ozone/pom.xml
@@ -28,7 +28,7 @@
0.5.0-SNAPSHOT
0.5.0-SNAPSHOT
- 0.4.0
+ 0.5.0-201fc85-SNAPSHOT
1.60
Crater Lake
${ozone.version}