You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/08/23 03:12:07 UTC
[incubator-iotdb] branch rel/0.10 updated (d766679 -> d70cc36)
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a change to branch rel/0.10
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.
from d766679 [IOTDB-836] [To rel/0.10] Fix merging statistics failed when endFile (#1624)
new bde7a4b add dockerfile for 0.10.1
new 29a8345 update website downloadl ink
new d70cc36 fix pypi readme file
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 3 +++
client-py/src/SessionExample.py | 2 ++
docker/src/main/{Dockerfile-0.9.0 => Dockerfile-0.10.1} | 10 +++++-----
docs/Download/README.md | 10 ++++++++++
docs/zh/Download/README.md | 10 ++++++++++
service-rpc/src/pypi/README.md | 7 ++++++-
6 files changed, 36 insertions(+), 6 deletions(-)
copy docker/src/main/{Dockerfile-0.9.0 => Dockerfile-0.10.1} (79%)
[incubator-iotdb] 03/03: fix pypi readme file
Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch rel/0.10
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit d70cc3623193dd5e82f0443c1817aa5cd3a4194f
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Aug 23 11:06:14 2020 +0800
fix pypi readme file
---
.gitignore | 3 +++
client-py/src/SessionExample.py | 2 ++
service-rpc/src/pypi/README.md | 7 ++++++-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index b1fb7d9..011fd34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,9 @@
**/lib/**
**/data/**
+# Python runtime file
+**/__pycache__/**
+
# Eclipse IDE files
**/.classpath
**/.project
diff --git a/client-py/src/SessionExample.py b/client-py/src/SessionExample.py
index 2aac6e9..74f3258 100644
--- a/client-py/src/SessionExample.py
+++ b/client-py/src/SessionExample.py
@@ -17,6 +17,8 @@
#
import sys
+# Uncomment the following line to use apache-iotdb module installed by pip3
+#import iotdb
sys.path.append("./utils")
from IoTDBConstants import *
from Tablet import Tablet
diff --git a/service-rpc/src/pypi/README.md b/service-rpc/src/pypi/README.md
index 742baa0..f6a627d 100644
--- a/service-rpc/src/pypi/README.md
+++ b/service-rpc/src/pypi/README.md
@@ -51,7 +51,12 @@ You have to install thrift (>=0.13) before using the package.
## How to use (Example)
-You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/incubator-iotdb/blob/rel/0.10/client-py/src/client_example.py)
+First, download the package: `pip3 install apache-iotdb`
+
+You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/incubator-iotdb/blob/rel/0.10/client-py/src/SessionExample.py)
+
+(you need to add `import iotdb` in the head of the file)
+
# DISCLAIMER
[incubator-iotdb] 01/03: add dockerfile for 0.10.1
Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch rel/0.10
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit bde7a4b3f13b51270736c8ec3be8aa2b4ae57c58
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Aug 23 09:22:46 2020 +0800
add dockerfile for 0.10.1
---
docker/src/main/Dockerfile-0.10.1 | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/docker/src/main/Dockerfile-0.10.1 b/docker/src/main/Dockerfile-0.10.1
new file mode 100644
index 0000000..1cb5df5
--- /dev/null
+++ b/docker/src/main/Dockerfile-0.10.1
@@ -0,0 +1,41 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+FROM openjdk:11-jre-slim
+RUN apt update \
+ # procps is for `free` command
+ && apt install wget unzip lsof procps -y \
+ && wget https://www-us.apache.org/dist/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip \
+ # if you are in China, use the following URL
+ #&& wget http://mirrors.tuna.tsinghua.edu.cn/apache/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip \
+ && unzip apache-iotdb-0.10.1-incubating-bin.zip \
+ && rm apache-iotdb-0.10.1-incubating-bin.zip \
+ && mv apache-iotdb-0.10.1-incubating /iotdb \
+ && apt remove wget unzip -y \
+ && apt autoremove -y \
+ && apt purge --auto-remove -y \
+ && apt clean -y
+EXPOSE 6667
+EXPOSE 31999
+EXPOSE 5555
+EXPOSE 8181
+VOLUME /iotdb/data
+VOLUME /iotdb/logs
+ENV PATH="/iotdb/sbin/:/iotdb/tools/:${PATH}"
+ENTRYPOINT ["/iotdb/sbin/start-server.sh"]
[incubator-iotdb] 02/03: update website downloadl ink
Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch rel/0.10
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 29a834547be443e8a3ab86b0638beff68b9ab115
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Aug 23 10:37:57 2020 +0800
update website downloadl ink
---
docs/Download/README.md | 10 ++++++++++
docs/zh/Download/README.md | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/docs/Download/README.md b/docs/Download/README.md
index e062f4c..3fabb49 100644
--- a/docs/Download/README.md
+++ b/docs/Download/README.md
@@ -29,6 +29,16 @@
<th>release notes</th>
</tr>
<tr>
+ <td>0.10.1</td>
+ <td><a href="https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip">Release</a></td>
+ <td><a href="https://downloads.apache.org/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip.sha512">SHA512</a></td>
+ <td><a href="https://downloads.apache.org/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip.asc">ASC</a></td>
+ <td><a href="https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-source-release.zip">Sources</a></td>
+ <td><a href="https://downloads.apache.org/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-source-release.zip.sha512">SHA512</a></td>
+ <td><a href="https://downloads.apache.org/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-source-release.zip.asc">ASC</a></td>
+ <td><a href="https://raw.githubusercontent.com/apache/incubator-iotdb/release/0.10.1/RELEASE_NOTES.md">release notes</a></td>
+ </tr>
+ <tr>
<td>0.9.3</td>
<td><a href="https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.9.3-incubating/apache-iotdb-0.9.3-incubating-bin.zip">Release</a></td>
<td><a href="https://downloads.apache.org/incubator/iotdb/0.9.3-incubating/apache-iotdb-0.9.3-incubating-bin.zip.sha512">SHA512</a></td>
diff --git a/docs/zh/Download/README.md b/docs/zh/Download/README.md
index 5e6ffdc..239377e 100644
--- a/docs/zh/Download/README.md
+++ b/docs/zh/Download/README.md
@@ -27,6 +27,16 @@
<th colspan="3">IoTDB Sources</th>
<th>release notes</th>
</tr>
+ <tr>
+ <td>0.10.1</td>
+ <td><a href="https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip">Release</a></td>
+ <td><a href="https://downloads.apache.org/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip.sha512">SHA512</a></td>
+ <td><a href="https://downloads.apache.org/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-bin.zip.asc">ASC</a></td>
+ <td><a href="https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-source-release.zip">Sources</a></td>
+ <td><a href="https://downloads.apache.org/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-source-release.zip.sha512">SHA512</a></td>
+ <td><a href="https://downloads.apache.org/incubator/iotdb/0.10.1-incubating/apache-iotdb-0.10.1-incubating-source-release.zip.asc">ASC</a></td>
+ <td><a href="https://raw.githubusercontent.com/apache/incubator-iotdb/release/0.10.1/RELEASE_NOTES.md">release notes</a></td>
+ </tr>
<tr>
<td>0.9.3</td>
<td><a href="https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.9.3-incubating/apache-iotdb-0.9.3-incubating-bin.zip">Release</a></td>