Skip to content

Commit

Permalink
update version 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 committed Nov 1, 2021
1 parent 88b0518 commit dde2379
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
7 changes: 4 additions & 3 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Exchange 2.0 仅支持 Nebula Graph 2.x。
$ mvn clean package -Dmaven.test.skip=true -Dgpg.skip -Dmaven.javadoc.skip=true
```

编译打包完成后,可以在 nebula-exchange/nebula-exchange/target/ 目录下看到 nebula-exchange-2.5-SNAPSHOT.jar 文件。
编译打包完成后,可以在 nebula-exchange/nebula-exchange/target/ 目录下看到 nebula-exchange-2.6.0.jar 文件。
2. 在 Maven 远程仓库下载

正式版本:
Expand All @@ -37,6 +37,7 @@ Nebula Exchange 和 Nebula 的版本对应关系如下:
| 2.1.0 | 2.0.0, 2.0.1 |
| 2.5.0 | 2.5.0, 2.5.1 |
| 2.5.1 | 2.5.0, 2.5.1 |
| 2.6.0 | 2.6.0 |
| 2.5-SNAPSHOT | nightly |
## 使用说明

Expand All @@ -56,7 +57,7 @@ Nebula Exchange 和 Nebula 的版本对应关系如下:

*7. Exchange 2.0 的导入命令:*
```
$SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange --master local nebula-exchange-2.5.0.jar -c /path/to/application.conf
$SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange --master local nebula-exchange-2.6.0.jar -c /path/to/application.conf
```
如果数据源有HIVE,则导入命令最后还需要加 `-h` 表示启用HIVE数据源。

Expand All @@ -67,7 +68,7 @@ $SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange \
--files application.conf \
--conf spark.driver.extraClassPath=./ \
--conf spark.executor.extraClassPath=./ \
nebula-exchange-2.5.0.jar \
nebula-exchange-2.6.0.jar \
-c application.conf
```

Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Exchange 2.0 only supports Nebula Graph 2.0 . If you want to import data for Neb
$ mvn clean package -Dmaven.test.skip=true -Dgpg.skip -Dmaven.javadoc.skip=true
```

After the packaging, you can see the newly generated nebula-exchange-2.5-SNAPSHOT.jar under the nebula-exchange/nebula-exchange/target/ directory.
After the packaging, you can see the newly generated nebula-exchange-2.6.0.jar under the nebula-exchange/nebula-exchange/target/ directory.
2. Download from Maven repository

release version:
Expand All @@ -27,11 +27,11 @@ Exchange 2.0 only supports Nebula Graph 2.0 . If you want to import data for Neb

Import command:
```
$SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange --master local nebula-exchange-2.5.0.jar -c /path/to/application.conf
$SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange --master local nebula-exchange-2.6.0.jar -c /path/to/application.conf
```
If your source is HIVE, import command is:
```
$SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange --master local nebula-exchange-2.5.0.jar -c /path/to/application.conf -h
$SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange --master local nebula-exchange-2.6.0.jar -c /path/to/application.conf -h
```

Note:Submit Exchange with Yarn-Cluster mode, please use following command:
Expand All @@ -41,7 +41,7 @@ $SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange \
--files application.conf \
--conf spark.driver.extraClassPath=./ \
--conf spark.executor.extraClassPath=./ \
nebula-exchange-2.5.0.jar \
nebula-exchange-2.6.0.jar \
-c application.conf
```

Expand All @@ -58,6 +58,7 @@ There are the version correspondence between Nebula Exchange and Nebula:
| 2.1.0 | 2.0.0, 2.0.1 |
| 2.5.0 | 2.5.0, 2.5.1 |
| 2.5.1 | 2.5.0, 2.5.1 |
| 2.6.0 | 2.6.0 |
| 2.5-SNAPSHOT | nightly |

## New Features
Expand Down
4 changes: 2 additions & 2 deletions nebula-exchange/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>nebula-spark</artifactId>
<groupId>com.vesoft</groupId>
<version>2.5-SNAPSHOT</version>
<version>2.6.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -28,7 +28,7 @@
<scala-logging.version>3.9.2</scala-logging.version>
<scala-xml.version>2.11.0-M4</scala-xml.version>
<scopt.version>3.7.1</scopt.version>
<nebula.version>2.0.0-SNAPSHOT</nebula.version>
<nebula.version>2.6.0</nebula.version>
<s2.version>1.0.0</s2.version>
<neo.version>2.4.5-M1</neo.version>
<gremlin.version>3.4.6</gremlin.version>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.vesoft</groupId>
<artifactId>nebula-spark</artifactId>
<packaging>pom</packaging>
<version>2.5-SNAPSHOT</version>
<version>2.6.0</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit dde2379

Please sign in to comment.