This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch benchants_branch
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/benchants_branch by this push:
     new 039c692d4ad change default ip and metric level
039c692d4ad is described below

commit 039c692d4adc0ef7e8526d7889fc0aa982ab76be
Author: JackieTien97 <[email protected]>
AuthorDate: Tue Jun 6 11:25:09 2023 +0800

    change default ip and metric level
---
 .../java/org/apache/iotdb/metrics/config/MetricConfig.java     |  2 +-
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/metrics/interface/src/main/java/org/apache/iotdb/metrics/config/MetricConfig.java
 
b/metrics/interface/src/main/java/org/apache/iotdb/metrics/config/MetricConfig.java
index 4989cfbdacf..fbf34d5571c 100644
--- 
a/metrics/interface/src/main/java/org/apache/iotdb/metrics/config/MetricConfig.java
+++ 
b/metrics/interface/src/main/java/org/apache/iotdb/metrics/config/MetricConfig.java
@@ -44,7 +44,7 @@ public class MetricConfig {
   private List<ReporterType> metricReporterList = Collections.emptyList();
 
   /** The level of metric service. */
-  private MetricLevel metricLevel = MetricLevel.CORE;
+  private MetricLevel metricLevel = MetricLevel.DO_NOTHING;
 
   /** The period of async collection of some metrics in second. */
   private Integer asyncCollectPeriodInSecond = 5;
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java 
b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 816916ac7b1..675196a2b48 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -94,7 +94,7 @@ public class IoTDBConfig {
   private boolean enableMQTTService = false;
 
   /** the mqtt service binding host. */
-  private String mqttHost = "127.0.0.1";
+  private String mqttHost = "172.31.8.255";
 
   /** the mqtt service binding port. */
   private int mqttPort = 1883;
@@ -109,7 +109,7 @@ public class IoTDBConfig {
   private int mqttMaxMessageSize = 1048576;
 
   /** Rpc binding address. */
-  private String rpcAddress = "127.0.0.1";
+  private String rpcAddress = "172.31.8.255";
 
   /** whether to use thrift compression. */
   private boolean rpcThriftCompressionEnable = false;
@@ -572,7 +572,7 @@ public class IoTDBConfig {
   private int mRemoteSchemaCacheSize = 100000;
 
   /** White list for sync */
-  private String ipWhiteList = "127.0.0.1/32";
+  private String ipWhiteList = "172.31.8.255/32";
 
   /** The maximum number of retries when the sender fails to synchronize files 
to the receiver. */
   private int maxNumberOfSyncFileRetry = 5;
@@ -895,7 +895,7 @@ public class IoTDBConfig {
   private int maxMeasurementNumOfInternalRequest = 10000;
 
   /** Internal address for data node */
-  private String internalAddress = "127.0.0.1";
+  private String internalAddress = "172.31.8.255";
 
   /** Internal port for coordinator */
   private int internalPort = 10730;
@@ -911,7 +911,7 @@ public class IoTDBConfig {
 
   /** Ip and port of config nodes. */
   private List<TEndPoint> targetConfigNodeList =
-      Collections.singletonList(new TEndPoint("127.0.0.1", 10710));
+      Collections.singletonList(new TEndPoint("172.31.8.255", 10710));
 
   /** The time of data node waiting for the next retry to join into the 
cluster */
   private long joinClusterRetryIntervalMs = TimeUnit.SECONDS.toMillis(5);

Reply via email to