Skip to content

Commit

Permalink
update snapshot version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 committed Jan 7, 2022
1 parent 805adc3 commit 092996c
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 17 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@

## Introduction

Nebula Spark Connector 2.0 only supports Nebula Graph 2.x. If you are using Nebula Graph v1.x, please use [Nebula Spark Connector v1.0](https://github.com/vesoft-inc/nebula-java/tree/v1.0/tools/nebula-spark) .
Nebula Spark Connector 2.0/3.0 only supports Nebula Graph 2.x/3.x. If you are using Nebula Graph v1.x, please use [Nebula Spark Connector v1.0](https://github.com/vesoft-inc/nebula-java/tree/v1.0/tools/nebula-spark) .

## How to Compile

1. Package Nebula Spark Connector 2.0.
1. Package Nebula Spark Connector.

```bash
$ git clone https://github.com/vesoft-inc/nebula-spark-connector.git
$ cd nebula-spark-connector/nebula-spark-connector
$ mvn clean package -Dmaven.test.skip=true -Dgpg.skip -Dmaven.javadoc.skip=true
```

After the packaging, you can see the newly generated nebula-spark-connector-2.5-SNAPSHOT.jar under the nebula-spark-connector/nebula-spark-connector/target/ directory.
After the packaging, you can see the newly generated nebula-spark-connector-3.0-SNAPSHOT.jar under the nebula-spark-connector/nebula-spark-connector/target/ directory.

## New Features (Compared to Nebula Spark Connector 1.0)
* Supports more connection configurations, such as timeout, connectionRetry, and executionRetry.
Expand All @@ -33,7 +33,7 @@ Nebula Spark Connector 2.0 only supports Nebula Graph 2.x. If you are using Nebu
<dependency>
<groupId>com.vesoft</groupId>
<artifactId>nebula-spark-connector</artifactId>
<version>2.5-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</dependency>
```
Expand Down Expand Up @@ -153,7 +153,7 @@ There are the version correspondence between Nebula Spark Connector and Nebula:
| 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 |
| 3.0-SNAPSHOT | nightly |
## Performance
We use LDBC dataset to test nebula-spark-connector's performance, here's the result.
Expand Down Expand Up @@ -192,7 +192,7 @@ The writeConfig has 2000 batch sizes, and the DataFrame has 60 partitions.
## How to Contribute
Nebula Spark Connector 2.0 is a completely opensource project, opensource enthusiasts are welcome to participate in the following ways:
Nebula Spark Connector is a completely opensource project, opensource enthusiasts are welcome to participate in the following ways:
- Go to [Nebula Graph Forum](https://discuss.nebula-graph.com.cn/ "go to“Nebula Graph Forum") to discuss with other users. You can raise your own questions, help others' problems, share your thoughts.
- Write or improve documents.
Expand Down
12 changes: 6 additions & 6 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
[English](https://github.com/vesoft-inc/nebula-spark-connector/blob/master/README.md)
## 介绍

Nebula Spark Connector 2.0 仅支持 Nebula Graph 2.x。如果您正在使用 Nebula Graph v1.x,请使用 [Nebula Spark Connector v1.0](https://github.com/vesoft-inc/nebula-java/tree/v1.0/tools)
Nebula Spark Connector 2.0/3.0 仅支持 Nebula Graph 2.x/3.x。如果您正在使用 Nebula Graph v1.x,请使用 [Nebula Spark Connector v1.0](https://github.com/vesoft-inc/nebula-java/tree/v1.0/tools)

## 如何编译

1. 编译打包 Nebula Spark Connector 2.0
1. 编译打包 Nebula Spark Connector。

```bash
$ git clone https://github.com/vesoft-inc/nebula-spark-connector.git
$ cd nebula-spark-connector/nebula-spark-connector
$ mvn clean package -Dmaven.test.skip=true -Dgpg.skip -Dmaven.javadoc.skip=true
```

编译打包完成后,可以在 nebula-spark-connector/nebula-spark-connector/target/ 目录下看到 nebula-spark-connector-2.5-SNAPSHOT.jar 文件。
编译打包完成后,可以在 nebula-spark-connector/nebula-spark-connector/target/ 目录下看到 nebula-spark-connector-3.0-SNAPSHOT.jar 文件。

## 特性

Expand All @@ -32,7 +32,7 @@ Nebula Spark Connector 2.0 仅支持 Nebula Graph 2.x。如果您正在使用 Ne
<dependency>
<groupId>com.vesoft</groupId>
<artifactId>nebula-spark-connector</artifactId>
<version>2.5-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</dependency>
```

Expand Down Expand Up @@ -154,7 +154,7 @@ Nebula Spark Connector 和 Nebula 的版本对应关系如下:
| 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 |
| 3.0-SNAPSHOT | nightly |
## 性能
我们使用LDBC数据集进行Nebula-Spark-Connector的性能测试,测试结果如下:
Expand Down Expand Up @@ -192,7 +192,7 @@ comment_replyOf_post.csv and comment_replyOf_comment.csv 写入 REPLY_OF 边类
## 贡献
Nebula Spark Connector 2.0 是一个完全开源的项目,欢迎开源爱好者通过以下方式参与:
Nebula Spark Connector 是一个完全开源的项目,欢迎开源爱好者通过以下方式参与:
- 前往 [Nebula Graph 论坛](https://discuss.nebula-graph.com.cn/ "点击前往“Nebula Graph 论坛") 上参与 Issue 讨论,如答疑、提供想法或者报告无法解决的问题
- 撰写或改进文档
Expand Down
4 changes: 2 additions & 2 deletions example/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>3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -182,7 +182,7 @@
<dependency>
<groupId>com.vesoft</groupId>
<artifactId>nebula-spark-connector</artifactId>
<version>2.5-SNAPSHOT</version>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
15 changes: 13 additions & 2 deletions nebula-spark-connector/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>3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -14,7 +14,7 @@

<properties>
<spark.version>2.4.4</spark.version>
<nebula.version>2.0.0-SNAPSHOT</nebula.version>
<nebula.version>3.0-SNAPSHOT</nebula.version>
<compiler.source.version>1.8</compiler.source.version>
<compiler.target.version>1.8</compiler.target.version>
<scalatest.version>3.2.3</scalatest.version>
Expand Down Expand Up @@ -69,6 +69,17 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<!-- maven-jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
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>3.0-SNAPSHOT</version>

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

0 comments on commit 092996c

Please sign in to comment.