You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2021/03/25 11:04:27 UTC
[iotdb] 01/01: update docs about hadoop and hive
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch HiveHadoop
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 7bbfa08ab7d953438edb6ce3cf8c846b7f0452b1
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Thu Mar 25 19:03:49 2021 +0800
update docs about hadoop and hive
---
docs/UserGuide/Ecosystem Integration/Hive TsFile.md | 4 ++--
docs/UserGuide/Ecosystem Integration/MapReduce TsFile.md | 2 +-
docs/zh/UserGuide/Ecosystem Integration/Hive TsFile.md | 4 ++--
docs/zh/UserGuide/Ecosystem Integration/MapReduce TsFile.md | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/UserGuide/Ecosystem Integration/Hive TsFile.md b/docs/UserGuide/Ecosystem Integration/Hive TsFile.md
index 7b5c2d9..3d57679 100644
--- a/docs/UserGuide/Ecosystem Integration/Hive TsFile.md
+++ b/docs/UserGuide/Ecosystem Integration/Hive TsFile.md
@@ -50,7 +50,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.10.0+`|
> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
@@ -70,7 +70,7 @@ With this connector, you can
To use hive-connector in hive, we should add the hive-connector jar into hive.
-After downloading the code of iotdb from <https://github.com/apache/iotdb>, you can use the command of `mvn clean package -pl hive-connector -am -Dmaven.test.skip=true` to get a `hive-connector-X.X.X-jar-with-dependencies.jar`.
+After downloading the code of iotdb from <https://github.com/apache/iotdb>, you can use the command of `mvn clean package -pl hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-jar-with-dependencies.jar`.
Then in hive, use the command of `add jar XXX` to add the dependency. For example:
diff --git a/docs/UserGuide/Ecosystem Integration/MapReduce TsFile.md b/docs/UserGuide/Ecosystem Integration/MapReduce TsFile.md
index 0607bc7..bf505e2 100644
--- a/docs/UserGuide/Ecosystem Integration/MapReduce TsFile.md
+++ b/docs/UserGuide/Ecosystem Integration/MapReduce TsFile.md
@@ -47,7 +47,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.10.0+`|
> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
diff --git a/docs/zh/UserGuide/Ecosystem Integration/Hive TsFile.md b/docs/zh/UserGuide/Ecosystem Integration/Hive TsFile.md
index 834fcdb..210aa82 100644
--- a/docs/zh/UserGuide/Ecosystem Integration/Hive TsFile.md
+++ b/docs/zh/UserGuide/Ecosystem Integration/Hive TsFile.md
@@ -37,7 +37,7 @@ TsFile的Hive连接器实现了对Hive读取外部Tsfile类型的文件格式的
|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.10.0+`|
### 数据类型对应关系
@@ -56,7 +56,7 @@ TsFile的Hive连接器实现了对Hive读取外部Tsfile类型的文件格式的
为了在Hive中使用Tsfile的hive连接器,我们需要把hive连接器的jar导入进hive。
-从 <https://github.com/apache/iotdb>下载完iotdb后, 你可以使用 `mvn clean package -pl hive-connector -am -Dmaven.test.skip=true`命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
+从 <https://github.com/apache/iotdb>下载完iotdb后, 你可以使用 `mvn clean package -pl hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies`命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
然后在hive的命令行中,使用`add jar XXX`命令添加依赖。例如:
diff --git a/docs/zh/UserGuide/Ecosystem Integration/MapReduce TsFile.md b/docs/zh/UserGuide/Ecosystem Integration/MapReduce TsFile.md
index 2364a85..e64af00 100644
--- a/docs/zh/UserGuide/Ecosystem Integration/MapReduce TsFile.md
+++ b/docs/zh/UserGuide/Ecosystem Integration/MapReduce TsFile.md
@@ -33,7 +33,7 @@ TsFile的Hadoop连接器实现了对Hadoop读取外部Tsfile类型的文件格
|Hadoop 版本 | Java 版本 | TsFile 版本 |
|------------- | ------------ |------------ |
-| `2.7.3` | `1.8` | `0.10.0`|
+| `2.7.3` | `1.8` | `0.10.0+`|
>注意:关于如何下载和使用Tsfile, 请参考以下链接: https://github.com/apache/iotdb/tree/master/tsfile.