Skip to content

Commit

Permalink
Update ex-ug-para-import-command.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy committed Jul 27, 2021
1 parent 33fd456 commit 7454648
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
<spark_install_path>/bin/spark-submit --master "local" --class com.vesoft.nebula.exchange.Exchange <nebula-exchange-2.x.y.jar_path> -c <csv_application.conf_path>
```

- 二次导入

- 导入reload文件

如果首次导入时有一些数据导入失败,会将导入失败的数据存入reload文件,可以用参数`-r`尝试导入reload文件。

```bash
<spark_install_path>/bin/spark-submit --master "local" --class com.vesoft.nebula.exchange.Exchange <nebula-exchange-2.x.y.jar_path> -c <csv_application.conf_path> -r "<import_fail_file_path>"
```
Expand All @@ -26,4 +28,4 @@
| `-c`  / `--config`  ||| 指定配置文件的路径。 |
| `-h`  / `--hive`  || `false` | 添加这个参数表示支持从Hive中导入数据。 |
| `-D`  / `--dry`  || `false` | 添加这个参数表示检查配置文件的格式是否符合要求,但不会校验`tags``edges`的配置项是否正确。正式导入数据时不能添加这个参数。 |
|-r / --reload ||| 指定需要重新加载的文件路径。如果之前导入时有一些数据导入失败,会生成导入失败文件,可以用该参数将导入失败文件的数据再次尝试导入|
|-r / --reload ||| 指定需要重新加载的reload文件路径|

0 comments on commit 7454648

Please sign in to comment.