Skip to content

Commit

Permalink
update RELEASE_NOTES; update 0.9.1 to 0.9.2 in docs and codes
Browse files Browse the repository at this point in the history
update RELEASE_NOTES; update 0.9.1 to 0.9.2 in docs and codes
  • Loading branch information
liutaohua committed Apr 13, 2020
1 parent 7541079 commit 8d36a7e
Show file tree
Hide file tree
Showing 39 changed files with 106 additions and 76 deletions.
30 changes: 30 additions & 0 deletions RELEASE_NOTES.md
Expand Up @@ -19,6 +19,36 @@
-->

# Apache IoTDB (incubating) 0.9.2

## Bug Fixs
- IOTDB-553 Fix Return Empty ResultSet when queried series doesn't exist
- IOTDB-575 add default jmx user and password; fix issues that jmx can't be accessed remotely
- IOTDB-584 Fix InitializerError when recovering files on HDFS
- Fix batch insert once an illegal sql occurs all the sqls after that will not succeed
- Fix concurrent modification exception when iterator TsFileResourceList
- Fix some HDFS config issues
- Fix runtime exception not catched and sync schema pos was nullpointer bug in DataTransferManager
- Fix python rpc grammar mistakes
- Fix upgrade ConcurrentModificationException

## Miscellaneous changes
- IOTDB-332 support Chinese characters in path
- IOTDB-316 add AVG function to 4-SQL Reference.md and modify style
- improve start-server.bat by using quotes to protect against empty entries
- Add Chinese documents for chapter 4.2
- change download-maven-plugin to 1.3.0
- add session pool
- add insertInBatch in Session
- add insertInBatch to SessionPool
- modify 0.9 docs to fit website
- remove tsfile-format.properties
- add bloom filter in iotdb-engien.properties
- update server download doc
- typos fix in Rel/0.9 docs
- support 0.12.0 and 0.13.0 thrift


# Apache IoTDB (incubating) 0.9.1

## Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions docker/src/main/Dockerfile
Expand Up @@ -31,9 +31,9 @@ RUN apt update \
&& cd incubator-iotdb-master \
&& mvn package -pl server,client -am -Papache-release -DskipTests -Dthrift.download-url="http://www.apache.org/licenses/LICENSE-2.0.txt" -Dthrift.exec.absolute.path="/usr/bin/thrift" \
&& cd target/ \
&& unzip apache-iotdb-0.9.1-incubating-bin.zip \
&& unzip apache-iotdb-0.9.2-incubating-bin.zip \
&& mkdir /iotdb \
&& mv apache-iotdb-0.9.1-incubating/* /iotdb/ \
&& mv apache-iotdb-0.9.2-incubating/* /iotdb/ \
&& cd ../../ \
&& mvn clean \
&& ls -lh ~/.m2 \
Expand Down
Expand Up @@ -40,7 +40,7 @@ There are several ways to identify the version of IoTDB that you are using:
* Check pom.xml file:

```
<version>0.9.1</version>
<version>0.9.2</version>
```

* Use JDBC API:
Expand Down
2 changes: 1 addition & 1 deletion docs/UserGuide/3-Server/5-Docker Image.md
Expand Up @@ -81,7 +81,7 @@ $ start-client.sh -h localhost -p 6667 -u root -pw root
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
```
Some examples about how to use IoTDB with IoTDB-JDBC can be found at: https://github.com/apache/incubator-iotdb/tree/master/example/jdbc/src/main/java/org/apache/iotdb
Expand Down
2 changes: 1 addition & 1 deletion docs/UserGuide/4-Client/2-Programming - JDBC.md
Expand Up @@ -49,7 +49,7 @@ mvn clean install -pl jdbc -am -Dmaven.test.skip=true
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
</dependencies>
```
Expand Down
2 changes: 1 addition & 1 deletion docs/UserGuide/4-Client/3-Programming - Session.md
Expand Up @@ -45,7 +45,7 @@ In root directory:
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
</dependencies>
```
Expand Down
6 changes: 3 additions & 3 deletions docs/UserGuide/4-Client/5-Programming - TsFile API.md
Expand Up @@ -36,7 +36,7 @@ There are two ways to use TsFile in your own project.
cd tsfile/
mvn clean package -Dmaven.test.skip=true
```
Then, all the jars can be get in folder named `target/`. Import `target/tsfile-0.9.1-jar-with-dependencies.jar` to your project.
Then, all the jars can be get in folder named `target/`. Import `target/tsfile-0.9.2-jar-with-dependencies.jar` to your project.

* Using as a maven dependency:

Expand All @@ -59,7 +59,7 @@ There are two ways to use TsFile in your own project.
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
```

Expand Down Expand Up @@ -93,7 +93,7 @@ There are two ways to use TsFile in your own project.
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
```

Expand Down
Expand Up @@ -325,7 +325,7 @@ When the fill method is not specified, each data type bears its own default fill
|float|linear, 0, 0|
|double|linear, 0, 0|
|text|previous, 0|
> Note: In version 0.9.1, at least one fill method should be specified in the Fill statement.
> Note: In version 0.9.2, at least one fill method should be specified in the Fill statement.
### Row and Column Control over Query Results

Expand Down
2 changes: 1 addition & 1 deletion docs/UserGuide/5-Operation Manual/4-SQL Reference.md
Expand Up @@ -38,7 +38,7 @@ show version

```
+---------------------------------------------------------------------------+
| 0.9.1|
| 0.9.2|
+---------------------------------------------------------------------------+
It costs 0.001s
```
Expand Down
2 changes: 1 addition & 1 deletion docs/UserGuide/6-System Tools/7-Monitor and Log Tools.md
Expand Up @@ -148,7 +148,7 @@ There are several attributes under Monitor, including the numbers of files opene

### Data Status Monitoring

This module is the statistical monitoring method provided by IoTDB for users to store data information. We will record the statistical data in the system and store it in the database. The current 0.9.1 version of IoTDB provides statistics for writing data.
This module is the statistical monitoring method provided by IoTDB for users to store data information. We will record the statistical data in the system and store it in the database. The current 0.9.2 version of IoTDB provides statistics for writing data.

The user can choose to enable or disable the data statistics monitoring function (set the `enable_stat_monitor` item in the configuration file, see [Engine Layer](../3-Server/2-Single%20Node%20Setup.html) for details).

Expand Down
Expand Up @@ -49,7 +49,7 @@ With this connector, you can

|Hadoop Version | Java Version | TsFile Version|
|------------- | ------------ |------------ |
| `2.7.3` | `1.8` | `0.9.1`|
| `2.7.3` | `1.8` | `0.9.2`|

> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/incubator-iotdb/tree/master/tsfile.
Expand Down
6 changes: 3 additions & 3 deletions docs/UserGuide/7-Ecosystem Integration/3-Spark TsFile.md
Expand Up @@ -34,7 +34,7 @@ With this connector, you can

|Spark Version | Scala Version | Java Version | TsFile |
|------------- | ------------- | ------------ |------------ |
| `2.4.3` | `2.11.8` | `1.8` | `0.9.1`|
| `2.4.3` | `2.11.8` | `1.8` | `0.9.2`|

> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/incubator-iotdb/tree/master/tsfile.
Expand All @@ -44,7 +44,7 @@ With this connector, you can
Start Spark with TsFile-Spark-Connector in local mode:

```
./<spark-shell-path> --jars tsfile-spark-connector.jar,tsfile-0.9.1-jar-with-dependencies.jar
./<spark-shell-path> --jars tsfile-spark-connector.jar,tsfile-0.9.2-jar-with-dependencies.jar
```

Note:
Expand All @@ -59,7 +59,7 @@ Note:
Start Spark with TsFile-Spark-Connector in distributed mode (That is, the spark cluster is connected by spark-shell):

```
. /<spark-shell-path> --jars tsfile-spark-connector.jar,tsfile-0.9.1-jar-with-dependencies.jar --master spark://ip:7077
. /<spark-shell-path> --jars tsfile-spark-connector.jar,tsfile-0.9.2-jar-with-dependencies.jar --master spark://ip:7077
```

Note:
Expand Down
8 changes: 4 additions & 4 deletions docs/UserGuide/7-Ecosystem Integration/4-Spark IoTDB.md
Expand Up @@ -27,7 +27,7 @@ The versions required for Spark and Java are as follow:

| Spark Version | Scala Version | Java Version | TsFile |
| ------------- | ------------- | ------------ |------------ |
| `2.4.3` | `2.11` | `1.8` | `0.9.1`|
| `2.4.3` | `2.11` | `1.8` | `0.9.2`|


## install
Expand All @@ -40,15 +40,15 @@ mvn clean scala:compile compile install
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-connector</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
```


# 2. spark-shell user guide

```
spark-shell --jars spark-iotdb-connector-0.9.1.jar,iotdb-jdbc-0.9.1-jar-with-dependencies.jar
spark-shell --jars spark-iotdb-connector-0.9.2.jar,iotdb-jdbc-0.9.2-jar-with-dependencies.jar
import org.apache.iotdb.spark.db._
Expand All @@ -61,7 +61,7 @@ df.show()

### if you want to partition your rdd, you can do as following
```
spark-shell --jars spark-iotdb-connector-0.9.1.jar,iotdb-jdbc-0.9.1-jar-with-dependencies.jar
spark-shell --jars spark-iotdb-connector-0.9.2.jar,iotdb-jdbc-0.9.2-jar-with-dependencies.jar
import org.apache.iotdb.spark.db._
Expand Down
8 changes: 4 additions & 4 deletions docs/UserGuide/7-Ecosystem Integration/5-Hive TsFile.md
Expand Up @@ -53,7 +53,7 @@ With this connector, you can

|Hadoop Version |Hive Version | Java Version | TsFile |
|------------- |------------ | ------------ |------------ |
| `2.7.3` or `3.2.1` | `2.3.6` or `3.1.2` | `1.8` | `0.9.1`|
| `2.7.3` or `3.2.1` | `2.3.6` or `3.1.2` | `1.8` | `0.9.2`|

> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/incubator-iotdb/tree/master/tsfile.
Expand All @@ -78,10 +78,10 @@ After downloading the code of iotdb from <https://github.com/apache/incubator-io
Then in hive, use the command of `add jar XXX` to add the dependency. For example:

```
hive> add jar /Users/hive/incubator-iotdb/hive-connector/target/hive-connector-0.9.1-jar-with-dependencies.jar;
hive> add jar /Users/hive/incubator-iotdb/hive-connector/target/hive-connector-0.9.2-jar-with-dependencies.jar;
Added [/Users/hive/incubator-iotdb/hive-connector/target/hive-connector-0.9.1-jar-with-dependencies.jar] to class path
Added resources: [/Users/hive/incubator-iotdb/hive-connector/target/hive-connector-0.9.1-jar-with-dependencies.jar]
Added [/Users/hive/incubator-iotdb/hive-connector/target/hive-connector-0.9.2-jar-with-dependencies.jar] to class path
Added resources: [/Users/hive/incubator-iotdb/hive-connector/target/hive-connector-0.9.2-jar-with-dependencies.jar]
```


Expand Down
8 changes: 4 additions & 4 deletions docs/UserGuide/8-System Design/1-Hierarchy.md
Expand Up @@ -276,7 +276,7 @@ Congratulations! You have finished the journey of discovering TsFile.

#### 1.3.1 TsFileResource Print Tool

After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.9.1\tools` directory.
After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.9.2\tools` directory.

Command:

Expand All @@ -295,7 +295,7 @@ For Linux or MacOs:
An example on Windows:

```
D:\incubator-iotdb\server\target\iotdb-server-0.9.1\tools>.\print-tsfile-resource-files.bat D:\data\data\sequence\root.vehicle
D:\incubator-iotdb\server\target\iotdb-server-0.9.2\tools>.\print-tsfile-resource-files.bat D:\data\data\sequence\root.vehicle
​````````````````````````
Starting Printing the TsFileResources
​````````````````````````
Expand All @@ -307,7 +307,7 @@ analyzing the resource file finished.
#### 1.3.2 TsFile Sketch Tool
After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.9.1\tools` directory.
After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.9.2\tools` directory.
Command:
Expand All @@ -330,7 +330,7 @@ For Linux or MacOs:
An example on Windows:
```$xslt
D:\incubator-iotdb\server\target\iotdb-server-0.9.1\tools>.\print-tsfile-sketch.bat D:\data\data\sequence\root.vehicle\1572496142067-101-0.tsfile
D:\incubator-iotdb\server\target\iotdb-server-0.9.2\tools>.\print-tsfile-sketch.bat D:\data\data\sequence\root.vehicle\1572496142067-101-0.tsfile
​````````````````````````
Starting Printing the TsFile Sketch
​````````````````````````
Expand Down
6 changes: 3 additions & 3 deletions docs/UserGuide/8-System Design/3-Writing Data on HDFS.md
Expand Up @@ -39,7 +39,7 @@ First, download the source release from website or git clone the repository, the

Build server and Hadoop module by: `mvn clean package -pl server,hadoop -am -Dmaven.test.skip=true`

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

Edit user config in `iotdb-engine.properties`. Related configurations are:

Expand Down Expand Up @@ -153,7 +153,7 @@ Edit user config in `iotdb-engine.properties`. Related configurations are:

Start server, and Tsfile will be stored on HDFS.

If you'd like to reset storage file system to local, just edit configuration `tsfile_storage_fs` to `LOCAL`. In this situation, if you have already had some data files on HDFS, you should either download them to local and move them to your config data file folder (`../server/target/iotdb-server-0.9.1/data/data` by default), or restart your process and import data to IoTDB.
If you'd like to reset storage file system to local, just edit configuration `tsfile_storage_fs` to `LOCAL`. In this situation, if you have already had some data files on HDFS, you should either download them to local and move them to your config data file folder (`../server/target/iotdb-server-0.9.2/data/data` by default), or restart your process and import data to IoTDB.

### Frequent questions

Expand All @@ -168,4 +168,4 @@ ERROR org.apache.iotdb.tsfile.fileSystem.fsFactory.HDFSFactory:62 - Failed to ge

A: It indicates that you forget to put Hadoop module dependency in IoTDB server. You can solve it by:
* Build Hadoop module: `mvn clean package -pl hadoop -am -Dmaven.test.skip=true`
* Copy the target jar of Hadoop module `hadoop-tsfile-0.9.1-jar-with-dependencies.jar` into server target lib folder `.../server/target/iotdb-server-0.9.1/lib`.
* Copy the target jar of Hadoop module `hadoop-tsfile-0.9.2-jar-with-dependencies.jar` into server target lib folder `.../server/target/iotdb-server-0.9.2/lib`.
2 changes: 1 addition & 1 deletion docs/zh/UserGuide/3-Server/5-Docker Image.md
Expand Up @@ -81,7 +81,7 @@ $ start-client.sh -h localhost -p 6667 -u root -pw root
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
```
可以在以下位置找到有关如何将IoTDB与IoTDB-JDBC一起使用的一些示例: https://github.com/apache/incubator-iotdb/tree/master/example/jdbc/src/main/java/org/apache/iotdb
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/UserGuide/4-Client/3-Programming - Session.md
Expand Up @@ -43,7 +43,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
</dependencies>
```
Expand Down
6 changes: 3 additions & 3 deletions docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md
Expand Up @@ -36,7 +36,7 @@ TsFile是我们在IoTDB中使用的时间序列的文件格式。 在本节中
cd tsfile/
mvn clean package -Dmaven.test.skip=true
```
然后,所有的jar都可以放在名为“ target /”的文件夹中。 将`target / tsfile-0.9.1-jar-with-dependencies.jar`导入您的项目。
然后,所有的jar都可以放在名为“ target /”的文件夹中。 将`target / tsfile-0.9.2-jar-with-dependencies.jar`导入您的项目。

* 用作Maven依赖项:

Expand All @@ -59,7 +59,7 @@ TsFile是我们在IoTDB中使用的时间序列的文件格式。 在本节中
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
```

Expand Down Expand Up @@ -94,7 +94,7 @@ TsFile是我们在IoTDB中使用的时间序列的文件格式。 在本节中
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.9.1</version>
<version>0.9.2</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/UserGuide/5-Operation Manual/4-SQL Reference.md
Expand Up @@ -29,7 +29,7 @@ show version

```
+---------------------------------------------------------------------------+
| 0.9.1|
| 0.9.2|
+---------------------------------------------------------------------------+
It costs 0.001s
```
Expand Down
Expand Up @@ -49,7 +49,7 @@ TsFile的Hadoop连接器实现了对Hadoop读取外部Tsfile类型的文件格

|Hadoop 版本 | Java 版本 | TsFile 版本 |
|------------- | ------------ |------------ |
| `2.7.3` | `1.8` | `0.9.1`|
| `2.7.3` | `1.8` | `0.9.2`|

>注意:关于如何下载和使用Tsfile, 请参考以下链接: https://github.com/apache/incubator-iotdb/tree/master/tsfile.
Expand Down
6 changes: 3 additions & 3 deletions docs/zh/UserGuide/7-Ecosystem Integration/3-Spark TsFile.md
Expand Up @@ -34,7 +34,7 @@ TsFile-Spark-Connector对Tsfile类型的外部数据源实现Spark的支持。

|Spark版本 | Scala 版本 | Java 版本 | TsFile |
|------------- | ------------- | ------------ |------------ |
| `2.4.3` | `2.11.8` | `1.8` | `0.9.1`|
| `2.4.3` | `2.11.8` | `1.8` | `0.9.2`|

> 注意:有关如何下载和使用TsFile的更多信息,请参见以下链接: https://github.com/apache/incubator-iotdb/tree/master/tsfile.
Expand All @@ -44,7 +44,7 @@ TsFile-Spark-Connector对Tsfile类型的外部数据源实现Spark的支持。
在本地模式下使用TsFile-Spark-Connector启动Spark:

```
./<spark-shell-path> --jars tsfile-spark-connector.jar,tsfile-0.9.1-jar-with-dependencies.jar
./<spark-shell-path> --jars tsfile-spark-connector.jar,tsfile-0.9.2-jar-with-dependencies.jar
```

注意:
Expand All @@ -59,7 +59,7 @@ TsFile-Spark-Connector对Tsfile类型的外部数据源实现Spark的支持。
在分布式模式下使用TsFile-Spark-Connector启动Spark(即,Spark集群通过spark-shell连接):

```
. /<spark-shell-path> --jars tsfile-spark-connector.jar,tsfile-0.9.1-jar-with-dependencies.jar --master spark://ip:7077
. /<spark-shell-path> --jars tsfile-spark-connector.jar,tsfile-0.9.2-jar-with-dependencies.jar --master spark://ip:7077
```

注意:
Expand Down

0 comments on commit 8d36a7e

Please sign in to comment.