Skip to content

Commit

Permalink
Update ex-ug-import-from-sst.md (#967)
Browse files Browse the repository at this point in the history
* Update ex-ug-import-from-sst.md

* Update ex-ug-import-from-sst.md

* Update ex-ug-import-from-sst.md

* Update ex-ug-import-from-sst.md
  • Loading branch information
cooper-lzy authored Sep 14, 2021
1 parent 08ac1e0 commit 6d00fa8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-sst.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ SST文件是一个内部包含了任意长度的有序键值对集合的文件

- 确认Hadoop服务在所有部署Storage服务的机器上运行正常。

!!! note

- 如果需要生成其他数据源的SST文件,请参见相应数据源的文档,查看前提条件部分。

- 如果只需要生成SST文件,不需要在部署Storage服务的机器上安装Hadoop服务。

## 操作步骤

### 步骤 1:在Nebula Graph中创建Schema
Expand Down Expand Up @@ -452,6 +458,16 @@ ${SPARK_HOME}/bin/spark-submit --master "local" --class com.vesoft.nebula.excha

### 步骤 5:导入SST文件

!!! note

导入前请确认以下信息:

- 确认所有部署Storage服务的机器上都已部署Hadoop服务,并配置HADOOP_HOME和JAVA_HOME。

- Meta服务配置文件中的`--ws_storage_http_port`(如果没有,请手动添加)和Storage服务配置文件中的`--ws_http_port`一致。例如都为`19779`。

- Graph服务配置文件中的`--ws_meta_http_port`(如果没有,请手动添加)和Meta服务配置文件中的`--ws_http_port`一致。例如都为`19559`。

使用客户端工具连接Nebula Graph数据库,按如下操作导入SST文件:

1. 执行命令选择之前创建的图空间。
Expand Down

0 comments on commit 6d00fa8

Please sign in to comment.