Skip to content

Commit 9a95424

Browse files
authored
HDDS-14403. Update Snapshot configuration default values (#9734)
1 parent fe185cb commit 9a95424

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hadoop-hdds/common/src/main/resources/ozone-default.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,7 @@
23202320
</property>
23212321
<property>
23222322
<name>ozone.om.ratis.snapshot.max.total.sst.size</name>
2323-
<value>100000000</value>
2323+
<value>10737418240</value>
23242324
<tag>OZONE, OM, RATIS</tag>
23252325
<description>
23262326
Max size of SST files in OM Ratis Snapshot tarball.

hadoop-hdds/docs/content/feature/Snapshot-Configuration-Properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ These parameters, defined in `ozone-site.xml`, control how Ozone manages snapsho
3333
* **General Snapshot Management**
3434
* `ozone.om.fs.snapshot.max.limit`: Max snapshots per bucket (Default: 10000). Safety limit.
3535
* `ozone.om.ratis.snapshot.dir`: The directory where OM Ratis snapshots are stored (Default: ratis-snapshot under OM DB dir).
36-
* `ozone.om.ratis.snapshot.max.total.sst.size`: The maximum total size of SST files to be included in a Ratis snapshot (Default: 100000000).
36+
* `ozone.om.ratis.snapshot.max.total.sst.size`: The maximum total size of SST files to be included in a Ratis snapshot (Default: 10737418240).
3737
* `ozone.om.snapshot.load.native.lib`: Use native RocksDB library for snapshot operations (Default: true). Set to false as a workaround for native library issues.
3838
* `ozone.om.snapshot.checkpoint.dir.creation.poll.timeout`: Timeout for polling the creation of the snapshot checkpoint directory (Default: 20s).
3939

hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public final class OMConfigKeys {
224224
public static final String OZONE_OM_RATIS_SNAPSHOT_MAX_TOTAL_SST_SIZE_KEY
225225
= "ozone.om.ratis.snapshot.max.total.sst.size";
226226
public static final long
227-
OZONE_OM_RATIS_SNAPSHOT_MAX_TOTAL_SST_SIZE_DEFAULT = 100_000_000;
227+
OZONE_OM_RATIS_SNAPSHOT_MAX_TOTAL_SST_SIZE_DEFAULT = 10737418240L;
228228

229229
// OM Ratis server configurations
230230
public static final String OZONE_OM_RATIS_SERVER_REQUEST_TIMEOUT_KEY

0 commit comments

Comments
 (0)