Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ex-ug-import-from-sst.md #968

Merged
merged 1 commit into from
Sep 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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