Skip to content

Commit 3062bdb

Browse files
authored
rename iotdb-engine.properties to iotdb-datanode.properties (apache#6449)
1 parent 51b8f12 commit 3062bdb

53 files changed

Lines changed: 102 additions & 102 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ you run `mvn package` successfully.**
180180
configuration files are under "conf" folder
181181
182182
* environment config module (`iotdb-env.bat`, `iotdb-env.sh`),
183-
* system config module (`iotdb-engine.properties`)
183+
* system config module (`iotdb-datanode.properties`)
184184
* log config module (`logback.xml`).
185185
186186
For more information, please see [Config Manual](https://iotdb.apache.org/UserGuide/Master/Reference/Config-Manual.html).

README_ZH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ git checkout vx.x.x
165165
166166
配置文件在"conf"文件夹下
167167
* 环境配置模块(`iotdb-env.bat`, `iotdb-env.sh`),
168-
* 系统配置模块(`iotdb-engine.properties`)
168+
* 系统配置模块(`iotdb-datanode.properties`)
169169
* 日志配置模块(`logback.xml`)。
170170
171171
有关详细信息,请参见[配置参数](https://iotdb.apache.org/zh/UserGuide/Master/Reference/Config-Manual.html)。

docker/src/main/Dockerfile-single-influxdb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN apt update \
2828
&& unzip /apache-iotdb-*-bin.zip -d / \
2929
&& rm /apache-iotdb-*-bin.zip \
3030
&& mv /apache-iotdb-* /iotdb \
31-
&& sed -i '/^# enable_influxdb_rpc_service=false/a enable_influxdb_rpc_service=true' /iotdb/sbin/../conf/iotdb-engine.properties \
31+
&& sed -i '/^# enable_influxdb_rpc_service=false/a enable_influxdb_rpc_service=true' /iotdb/sbin/../conf/iotdb-datanode.properties \
3232
&& apt remove unzip -y \
3333
&& apt autoremove -y \
3434
&& apt purge --auto-remove -y \

docs/Development/HowtoContributeCode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ It is required to use "mvn spotless:apply" to format the code before committing,
7272

7373
Notes
7474

75-
1.The default values need to be consistent between iotdb-engine.properties file and IoTDBConfig file.
75+
1.The default values need to be consistent between iotdb-datanode.properties file and IoTDBConfig file.
7676

7777
2.To modify the configuration parameters, the following files need to be modified
7878

79-
a.Configuration file: server/src/assembly/resources/conf/iotdb-engine.properties
79+
a.Configuration file: server/src/assembly/resources/conf/iotdb-datanode.properties
8080

8181
b. Codes: IoTDBDescriptor, IoTDBConfig
8282

docs/UserGuide/API/Programming-MQTT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ or json array of the above two.
5959
<img style="width:100%; max-width:800px; max-height:600px; margin-left:auto; margin-right:auto; display:block;" src="https://user-images.githubusercontent.com/6711230/78357469-1bf11880-75e4-11ea-978f-a53996667a0d.png">
6060

6161
### MQTT Configurations
62-
The IoTDB MQTT service load configurations from `${IOTDB_HOME}/${IOTDB_CONF}/iotdb-engine.properties` by default.
62+
The IoTDB MQTT service load configurations from `${IOTDB_HOME}/${IOTDB_CONF}/iotdb-datanode.properties` by default.
6363

6464
Configurations are as follows:
6565

@@ -157,7 +157,7 @@ public class CustomizedJsonPayloadFormatter implements PayloadFormatter {
157157

158158
@Override
159159
public String getName() {
160-
// set the value of mqtt_payload_formatter in iotdb-engine.properties as the following string:
160+
// set the value of mqtt_payload_formatter in iotdb-datanode.properties as the following string:
161161
return "CustomizedJson";
162162
}
163163
}
@@ -170,8 +170,8 @@ public class CustomizedJsonPayloadFormatter implements PayloadFormatter {
170170

171171
Then, in your server:
172172
* Create ${IOTDB_HOME}/ext/mqtt/ folder, and put the jar into this folder.
173-
* Update configuration to enable MQTT service. (`enable_mqtt_service=true` in `conf/iotdb-engine.properties`)
174-
* Set the value of `mqtt_payload_formatter` in `conf/iotdb-engine.properties` as the value of getName() in your implementation
173+
* Update configuration to enable MQTT service. (`enable_mqtt_service=true` in `conf/iotdb-datanode.properties`)
174+
* Set the value of `mqtt_payload_formatter` in `conf/iotdb-datanode.properties` as the value of getName() in your implementation
175175
, in this example, the value is `CustomizedJson`
176176
* Launch the IoTDB server.
177177
* Now IoTDB will use your implementation to parse the MQTT message.

docs/UserGuide/Data-Concept/Data-Type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ IoTDB supports the following data types:
3333
* TEXT (String)
3434

3535

36-
The time series of **FLOAT** and **DOUBLE** type can specify (MAX\_POINT\_NUMBER, see [this page](../Reference/SQL-Reference.md) for more information on how to specify), which is the number of digits after the decimal point of the floating point number, if the encoding method is [RLE](Encoding.md) or [TS\_2DIFF](Encoding.md). If MAX\_POINT\_NUMBER is not specified, the system will use [float\_precision](../Reference/Config-Manual.md) in the configuration file `iotdb-engine.properties`.
36+
The time series of **FLOAT** and **DOUBLE** type can specify (MAX\_POINT\_NUMBER, see [this page](../Reference/SQL-Reference.md) for more information on how to specify), which is the number of digits after the decimal point of the floating point number, if the encoding method is [RLE](Encoding.md) or [TS\_2DIFF](Encoding.md). If MAX\_POINT\_NUMBER is not specified, the system will use [float\_precision](../Reference/Config-Manual.md) in the configuration file `iotdb-datanode.properties`.
3737

3838
* For Float data value, The data range is (-Integer.MAX_VALUE, Integer.MAX_VALUE), rather than Float.MAX_VALUE, and the max_point_number is 19, caused by the limition of function Math.round(float) in Java.
3939
* For Double data value, The data range is (-Long.MAX_VALUE, Long.MAX_VALUE), rather than Double.MAX_VALUE, and the max_point_number is 19, caused by the limition of function Math.round(double) in Java (Long.MAX_VALUE=9.22E18).

docs/UserGuide/Data-Modeling/SchemaRegion-rocksdb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ After that, you can get a **conf** directory and a **lib** directory in
3737
schema-engine-rocksdb/target/schema-engine-rocksdb. Copy the file in the conf directory to the conf directory of server,
3838
and copy the files in the lib directory to the lib directory of server.
3939

40-
Then, open the **iotdb-engine.properties** in the conf directory of server, and set the `schema_engine_mode` to
40+
Then, open the **iotdb-datanode.properties** in the conf directory of server, and set the `schema_engine_mode` to
4141
Rocksdb_based. Restart the IoTDB, the system will use `RSchemaRegion` to manage the metadata.
4242

4343
```

docs/UserGuide/Ecosystem Integration/Writing Data on HDFS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Build server and Hadoop module by: `mvn clean package -pl server,hadoop -am -Dma
4141

4242
Then, copy the target jar of Hadoop module `hadoop-tsfile-X.X.X-jar-with-dependencies.jar` into server target lib folder `.../server/target/iotdb-server-X.X.X/lib`.
4343

44-
Edit user config in `iotdb-engine.properties`. Related configurations are:
44+
Edit user config in `iotdb-datanode.properties`. Related configurations are:
4545

4646
* tsfile\_storage\_fs
4747

docs/UserGuide/Maintenance-Tools/Monitor-and-Log-Tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To grasp the performance of iotdb, this module is added to count the time-consum
4949

5050
#### Configuration parameter
5151

52-
location:conf/iotdb-engine.properties
52+
location:conf/iotdb-datanode.properties
5353

5454
<center>
5555

docs/UserGuide/Maintenance-Tools/Sync-Tool.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ IoTDB> SHOW PIPESERVER STATUS
287287

288288
##### **Receiver**
289289

290-
- `vi conf/iotdb-engine.properties` to config the parameters,set the IP white list to 192.168.0.1/1 to receive and only receive data from sender.
290+
- `vi conf/iotdb-datanode.properties` to config the parameters,set the IP white list to 192.168.0.1/1 to receive and only receive data from sender.
291291

292292
```
293293
####################
@@ -420,7 +420,7 @@ It costs 0.134s
420420
```
421421

422422
- Cause by: The receiver is not started or the receiver cannot be connected.
423-
- Solution: Execute `SHOW PIPESERVER` on the receiver side to check if the receiver side is started, if not use `START PIPESERVER` to start; check if the whitelist in `iotdb-engine.properties` on the receiver side contains the sender ip.
423+
- Solution: Execute `SHOW PIPESERVER` on the receiver side to check if the receiver side is started, if not use `START PIPESERVER` to start; check if the whitelist in `iotdb-datanode.properties` on the receiver side contains the sender ip.
424424

425425
- Execute
426426

0 commit comments

Comments
 (0)