Skip to content
Permalink
Browse files
change version to 0.13.0-SNAPSHOT (#3045)
  • Loading branch information
qiaojialin committed Apr 22, 2021
1 parent 79f4b4b commit de51269c60c93edbe035d37f77a0d1e973ae48ff
Show file tree
Hide file tree
Showing 81 changed files with 151 additions and 151 deletions.
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>iotdb-antlr</artifactId>
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>iotdb-cli</artifactId>
@@ -72,7 +72,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -24,7 +24,7 @@
<parent>
<artifactId>iotdb-parent</artifactId>
<groupId>org.apache.iotdb</groupId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>client-cpp</artifactId>
@@ -89,7 +89,7 @@ class MyTestCase(unittest.TestCase):
session.close()
```

by default it will load the image `apache/iotdb:latest`, if you want a specific version just pass it like e.g. `IoTDBContainer("apache/iotdb:0.10.0")` to get version `0.10.0` running.
by default it will load the image `apache/iotdb:latest`, if you want a specific version just pass it like e.g. `IoTDBContainer("apache/iotdb:0.12.0")` to get version `0.12.0` running.

## Pandas Support

@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>iotdb-python-api</artifactId>
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>iotdb-cluster</artifactId>
@@ -58,7 +58,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>service-rpc</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.thrift</groupId>
@@ -69,7 +69,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.thrift</groupId>
@@ -84,7 +84,7 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-thrift-cluster</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.thrift</groupId>
@@ -96,20 +96,20 @@
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-jdbc</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>iotdb-code-coverage</artifactId>
@@ -22,7 +22,7 @@
<parent>
<artifactId>iotdb-parent</artifactId>
<groupId>org.apache.iotdb</groupId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>client-cpp-tools</artifactId>
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>client-cpp-tools</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>client-cpp-tools-thrift</artifactId>
@@ -23,7 +23,7 @@
<parent>
<artifactId>iotdb-parent</artifactId>
<groupId>org.apache.iotdb</groupId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>cross-tests</artifactId>
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-parent</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>iotdb-distribution</artifactId>
@@ -88,11 +88,11 @@ mvn -B apache-rat:check
* Verify signatures and hashes

```
gpg2 --verify apache-iotdb-0.9.0-incubating-source-release.zip.asc apache-iotdb-0.9.0-incubating-source-release.zip
gpg2 --verify apache-iotdb-0.12.0-source-release.zip.asc apache-iotdb-0.12.0-source-release.zip
appear Good Singnature
shasum -a512 apache-iotdb-0.9.0-incubating-source-release.zip
shasum -a512 apache-iotdb-0.12.0-source-release.zip
Compared with the corresponding .sha512, the same is fine.
```
@@ -114,11 +114,11 @@ Should end up all SUCCESS
* Verify signatures and hashes

```
gpg2 --verify apache-iotdb-0.9.0-incubating-bin.zip.asc apache-iotdb-0.9.0-incubating-bin.zip
gpg2 --verify apache-iotdb-0.12.0-bin.zip.asc apache-iotdb-0.12.0-bin.zip
appear Good Singnature
shasum -a512 apache-iotdb-0.9.0-incubating-bin.zip
shasum -a512 apache-iotdb-0.12.0-bin.zip
Compared with the corresponding .sha512, the same is fine.
```
@@ -246,7 +246,7 @@ Congratulations! You have finished the journey of discovering TsFile.

#### 1.3.1 IoTDB Data Directory Overview Tool

After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.10.0\tools\tsfileToolSet` directory.
After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.13.0-SNAPSHOT\tools\tsfileToolSet` directory.

Command:

@@ -265,7 +265,7 @@ For Linux or MacOs:
An example on Windows:

```
D:\iotdb\server\target\iotdb-server-0.12.0-SNAPSHOT\tools\tsfileToolSet>.\print-iotdb-data-dir.bat D:\\data\data
D:\iotdb\server\target\iotdb-server-0.13.0-SNAPSHOT\tools\tsfileToolSet>.\print-iotdb-data-dir.bat D:\\data\data
|````````````````````````
Starting Printing the IoTDB Data Directory Overview
​|````````````````````````
@@ -297,7 +297,7 @@ TsFile data dir num:1

#### 1.3.2 TsFileResource Print Tool

After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.10.0\tools\tsfileToolSet` directory.
After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.13.0-SNAPSHOT\tools\tsfileToolSet` directory.

Command:

@@ -316,7 +316,7 @@ For Linux or MacOs:
An example on Windows:

```shell
D:\iotdb\server\target\iotdb-server-0.10.0\tools\tsfileToolSet>.\print-tsfile-resource-files.bat D:\data\data\sequence\root.vehicle
D:\iotdb\server\target\iotdb-server-0.13.0-SNAPSHOT\tools\tsfileToolSet>.\print-tsfile-resource-files.bat D:\data\data\sequence\root.vehicle
|````````````````````````
Starting Printing the TsFileResources
|````````````````````````
@@ -328,7 +328,7 @@ analyzing the resource file finished.

#### 1.3.3 TsFile Sketch Tool

After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.10.0\tools\tsfileToolSet` directory.
After building the server, the startup script of this tool will appear under the `server\target\iotdb-server-0.13.0-SNAPSHOT\tools\tsfileToolSet` directory.

Command:

@@ -351,7 +351,7 @@ For Linux or MacOs:
An example on macOS:

```shell
/iotdb/server/target/iotdb-server-0.10.0/tools/tsfileToolSet$ ./print-tsfile-sketch.sh test.tsfile
/iotdb/server/target/iotdb-server-0.13.0-SNAPSHOT/tools/tsfileToolSet$ ./print-tsfile-sketch.sh test.tsfile
|````````````````````````
Starting Printing the TsFile Sketch
|````````````````````````
@@ -42,7 +42,7 @@ In root directory:
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-session</artifactId>
<version>0.12.0</version>
<version>0.13.0-SNAPSHOT</version>
</dependency>
</dependencies>
```
@@ -69,7 +69,7 @@ class MyTestCase(unittest.TestCase):
session.close()
```

by default it will load the image `apache/iotdb:latest`, if you want a specific version just pass it like e.g. `IoTDBContainer("apache/iotdb:0.10.0")` to get version `0.10.0` running.
by default it will load the image `apache/iotdb:latest`, if you want a specific version just pass it like e.g. `IoTDBContainer("apache/iotdb:0.12.0")` to get version `0.12.0` running.



@@ -62,7 +62,7 @@ Then, all the jars are in folder named `target/`. Import `target/tsfile-0.12.0-j
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.10.0</version>
<version>0.13.0-SNAPSHOT</version>
</dependency>
```

@@ -96,7 +96,7 @@ Then, all the jars are in folder named `target/`. Import `target/tsfile-0.12.0-j
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>tsfile</artifactId>
<version>0.10.0</version>
<version>0.13.0-SNAPSHOT</version>
</dependency>
```

@@ -41,7 +41,7 @@ You need to implement the trigger by writing a Java class, where the dependency
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
@@ -163,7 +163,7 @@ Registering a trigger can be carried out as follows:

2. Pack the project into a JAR package. If you use Maven to manage the project, you can refer to the above Maven project example.

3. Put the JAR package in the directory `iotdb-server-0.12.0-SNAPSHOT/ext/trigger` (or a subdirectory of `iotdb-server-0.12.0-SNAPSHOT/ext/trigger`).
3. Put the JAR package in the directory `iotdb-server-0.13.0-SNAPSHOT/ext/trigger` (or a subdirectory of `iotdb-server-0.13.0-SNAPSHOT/ext/trigger`).

> You can specify the root path to load the trigger JAR packages by modifying the `trigger_root_dir` in the configuration file.
@@ -709,7 +709,7 @@ You can try this trigger by following the steps below:
CREATE TIMESERIES root.sg1.d1.s1 WITH DATATYPE=DOUBLE, ENCODING=PLAIN;
```

* Place the JAR (`trigger-example-0.12.0-SNAPSHOT.jar`) of **trigger-example** in the directory `iotdb-server-0.12.0-SNAPSHOT/ext/trigger` (or in a subdirectory of `iotdb-server-0.12.0-SNAPSHOT/ext/trigger`)
* Place the JAR (`trigger-example-0.13.0-SNAPSHOT.jar`) of **trigger-example** in the directory `iotdb-server-0.13.0-SNAPSHOT/ext/trigger` (or in a subdirectory of `iotdb-server-0.13.0-SNAPSHOT/ext/trigger`)

> You can specify the root path to load the trigger JAR package by modifying the `trigger_root_dir` in the configuration file.
@@ -48,7 +48,7 @@ If you use [Maven](http://search.maven.org/), you can search for the development
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>iotdb-server</artifactId>
<version>0.12.0-SNAPSHOT</version>
<version>0.13.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
@@ -388,7 +388,7 @@ The process of registering a UDF in IoTDB is as follows:

1. Implement a complete UDF class, assuming the full class name of this class is `org.apache.iotdb.udf.ExampleUDTF`.
2. Package your project into a JAR. If you use Maven to manage your project, you can refer to the Maven project example above.
3. Place the JAR package in the directory `iotdb-server-0.12.0-SNAPSHOT/ext/udf` or in a subdirectory of `iotdb-server-0.12.0-SNAPSHOT/ext/udf`.
3. Place the JAR package in the directory `iotdb-server-0.13.0-SNAPSHOT/ext/udf` or in a subdirectory of `iotdb-server-0.13.0-SNAPSHOT/ext/udf`.

> You can specify the root path for the UDF to load the Jar by modifying the 'udf_root_dir' in the configuration file.
4. Register the UDF with the SQL statement, assuming that the name given to the UDF is `example`.
@@ -581,7 +581,7 @@ Q1: **How to modify the registered UDF? **
A1: Assume that the name of the UDF is `example` and the full class name is `org.apache.iotdb.udf.ExampleUDTF`, which is introduced by `example.jar`.

1. Unload the registered function by executing `DROP FUNCTION example`.
2. Delete `example.jar` under `iotdb-server-0.12.0-SNAPSHOT/ext/udf`.
2. Delete `example.jar` under `iotdb-server-0.13.0-SNAPSHOT/ext/udf`.
3. Modify the logic in `org.apache.iotdb.udf.ExampleUDTF` and repackage it. The name of the JAR package can still be `example.jar`.
4. Upload the new JAR package to `iotdb-server-0.12.0-SNAPSHOT/ext/udf`.
4. Upload the new JAR package to `iotdb-server-0.13.0-SNAPSHOT/ext/udf`.
5. Load the new UDF by executing `CREATE FUNCTION example AS "org.apache.iotdb.udf.ExampleUDTF"`.
@@ -40,7 +40,7 @@ show version
+---------------+
| version|
+---------------+
|0.12.0-SNAPSHOT|
|0.13.0-SNAPSHOT|
+---------------+
Total line number = 1
It costs 0.417s
@@ -26,9 +26,9 @@ PLEASE BE DELIBERATE IF YOU RUN IT IN PRODUCT ENVIRONMENT.__
```
mvn clean package -DskipTests
chmod -R 777 ./cluster/target/
nohup ./cluster/target/iotdb-cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node1conf/ >/dev/null 2>&1 &
nohup ./cluster/target/iotdb-cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node2conf/ >/dev/null 2>&1 &
nohup ./cluster/target/iotdb-cluster-0.12.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node3conf/ >/dev/null 2>&1 &
nohup ./cluster/target/iotdb-cluster-0.13.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node1conf/ >/dev/null 2>&1 &
nohup ./cluster/target/iotdb-cluster-0.13.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node2conf/ >/dev/null 2>&1 &
nohup ./cluster/target/iotdb-cluster-0.13.0-SNAPSHOT/sbin/start-node.sh ./cluster/target/test-classes/node3conf/ >/dev/null 2>&1 &
```

## Example of distributed scaffolding for 3 nodes and 3 replicas
@@ -40,7 +40,7 @@ The operation steps are as follows:

1. Make sure ports 6667, 9003, 9004, 40010, 40011 and 31999 are open on all three nodes.
2. Use 'mvn clean package -pl cluster -am -DskipTests' to compile the distributed module.
3. Send the generated package (iotdb-cluster-0.12.0-SNAPSHOT) to all servers.
3. Send the generated package (iotdb-cluster-0.13.0-SNAPSHOT) to all servers.
4. Configure all nodes' seed_nodes in conf/iotdb-cluster.properties as "A_private_ip:9003,B_private_ip:9003,C_private_ip:9003"
5. Configure the internal_ip in conf/iotdb-cluster.properties to be the private_ip of each node.
6. Configure rpc_address in conf/iotdb-engine.properties to be the public_ip of each node.
@@ -35,7 +35,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.10.0+`|
| `2.7.3` or `3.2.1` | `2.3.6` or `3.1.2` | `1.8` | `0.13.0-SNAPSHOT`|

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

```
hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-0.10.0-jar-with-dependencies.jar;
hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-0.13.0-SNAPSHOT-jar-with-dependencies.jar;
Added [/Users/hive/iotdb/hive-connector/target/hive-connector-0.10.0-jar-with-dependencies.jar] to class path
Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-0.10.0-jar-with-dependencies.jar]
Added [/Users/hive/iotdb/hive-connector/target/hive-connector-0.13.0-SNAPSHOT-jar-with-dependencies.jar] to class path
Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-0.13.0-SNAPSHOT-jar-with-dependencies.jar]
```


@@ -34,7 +34,7 @@ With this connector, you can

|Hadoop Version | Java Version | TsFile Version|
|:---:|:---:|:---:|
| `2.7.3` | `1.8` | `0.10.0+`|
| `2.7.3` | `1.8` | `0.13.0-SNAPSHOT`|

> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.

0 comments on commit de51269

Please sign in to comment.