This is an automated email from the ASF dual-hosted git repository.
arafat2198 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new ab161dd72a HDDS-11949. Ozone Recon - Update Recon OM Sync default
configs and docker configs. (#7600)
ab161dd72a is described below
commit ab161dd72afe9fcef060f11e0d2721b16b8fd34d
Author: Devesh Kumar Singh <[email protected]>
AuthorDate: Mon Jan 6 13:33:28 2025 +0530
HDDS-11949. Ozone Recon - Update Recon OM Sync default configs and docker
configs. (#7600)
---
hadoop-hdds/common/src/main/resources/ozone-default.xml | 6 +++---
.../java/org/apache/hadoop/ozone/recon/ReconServerConfigKeys.java | 6 +++---
.../ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java | 8 ++++----
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml
b/hadoop-hdds/common/src/main/resources/ozone-default.xml
index a0fdcd4b68..1fcef139da 100644
--- a/hadoop-hdds/common/src/main/resources/ozone-default.xml
+++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml
@@ -3314,7 +3314,7 @@
</property>
<property>
<name>ozone.recon.om.snapshot.task.interval.delay</name>
- <value>10m</value>
+ <value>5s</value>
<tag>OZONE, RECON, OM</tag>
<description>
Interval in MINUTES by Recon to request OM DB Snapshot.
@@ -3330,7 +3330,7 @@
</property>
<property>
<name>recon.om.delta.update.limit</name>
- <value>2000</value>
+ <value>50000</value>
<tag>OZONE, RECON</tag>
<description>
Recon each time get a limited delta updates from OM.
@@ -3351,7 +3351,7 @@
</property>
<property>
<name>recon.om.delta.update.loop.limit</name>
- <value>10</value>
+ <value>50</value>
<tag>OZONE, RECON</tag>
<description>
The sync between Recon and OM consists of several small
diff --git
a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconServerConfigKeys.java
b/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconServerConfigKeys.java
index 5c9e403963..02060c03ef 100644
---
a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconServerConfigKeys.java
+++
b/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/ReconServerConfigKeys.java
@@ -85,7 +85,7 @@ public final class ReconServerConfigKeys {
public static final String OZONE_RECON_OM_SNAPSHOT_TASK_INTERVAL_DELAY =
"ozone.recon.om.snapshot.task.interval.delay";
public static final String OZONE_RECON_OM_SNAPSHOT_TASK_INTERVAL_DEFAULT
- = "10m";
+ = "5s";
@Deprecated
public static final String RECON_OM_SNAPSHOT_TASK_INTERVAL_DELAY =
"recon.om.snapshot.task.interval.delay";
@@ -98,10 +98,10 @@ public final class ReconServerConfigKeys {
public static final String RECON_OM_DELTA_UPDATE_LIMIT =
"recon.om.delta.update.limit";
- public static final long RECON_OM_DELTA_UPDATE_LIMIT_DEFUALT = 2000;
+ public static final long RECON_OM_DELTA_UPDATE_LIMIT_DEFAULT = 50000;
public static final String RECON_OM_DELTA_UPDATE_LOOP_LIMIT =
"recon.om.delta.update.loop.limit";
- public static final int RECON_OM_DELTA_UPDATE_LOOP_LIMIT_DEFUALT = 10;
+ public static final int RECON_OM_DELTA_UPDATE_LOOP_LIMIT_DEFAULT = 50;
public static final String OZONE_RECON_TASK_THREAD_COUNT_KEY =
"ozone.recon.task.thread.count";
diff --git
a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java
b/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java
index 6bff4344f4..d5b7b1cfc9 100644
---
a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java
+++
b/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java
@@ -91,9 +91,9 @@ import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.OZONE_RECON_OM
import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.OZONE_RECON_OM_SNAPSHOT_TASK_INTERVAL_DELAY;
import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.OZONE_RECON_OM_SNAPSHOT_TASK_INTERVAL_DEFAULT;
import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.RECON_OM_DELTA_UPDATE_LIMIT;
-import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.RECON_OM_DELTA_UPDATE_LIMIT_DEFUALT;
+import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.RECON_OM_DELTA_UPDATE_LIMIT_DEFAULT;
import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.RECON_OM_DELTA_UPDATE_LOOP_LIMIT;
-import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.RECON_OM_DELTA_UPDATE_LOOP_LIMIT_DEFUALT;
+import static
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.RECON_OM_DELTA_UPDATE_LOOP_LIMIT_DEFAULT;
import static
org.apache.hadoop.ozone.recon.ReconUtils.convertNumericToSymbolic;
import static org.apache.ratis.proto.RaftProtos.RaftPeerRole.LEADER;
@@ -178,10 +178,10 @@ public class OzoneManagerServiceProviderImpl
.OZONE_OM_HTTPS_ADDRESS_KEY);
long deltaUpdateLimits = configuration.getLong(RECON_OM_DELTA_UPDATE_LIMIT,
- RECON_OM_DELTA_UPDATE_LIMIT_DEFUALT);
+ RECON_OM_DELTA_UPDATE_LIMIT_DEFAULT);
int deltaUpdateLoopLimits = configuration.getInt(
RECON_OM_DELTA_UPDATE_LOOP_LIMIT,
- RECON_OM_DELTA_UPDATE_LOOP_LIMIT_DEFUALT);
+ RECON_OM_DELTA_UPDATE_LOOP_LIMIT_DEFAULT);
omSnapshotDBParentDir = reconUtils.getReconDbDir(configuration,
OZONE_RECON_OM_SNAPSHOT_DB_DIR);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]