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 #728

Merged
merged 1 commit into from
Sep 17, 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 @@ -95,6 +95,12 @@ Before importing data, you need to confirm the following information:

- The Hadoop service has been installed and started.

!!! note

- To generate SST files of other data sources, see documents of the corresponding data source and check the prerequisites.

- To generate SST files only, users do not need to install the Hadoop service on the machine where the Storage service is deployed.

## Steps

### Step 1: Create the Schema in Nebula Graph
Expand Down Expand Up @@ -396,6 +402,16 @@ After the task is complete, you can view the generated SST file in the `/sst` di

### Step 5: Import the SST file

!!! note

Confirm the following information before importing:

- Confirm that the Hadoop service has been deployed on all the machines where the Storage service is deployed, and configure HADOOP_HOME and JAVA_HOME.

- The `--ws_storage_http_port` in the Meta service configuration file (add it manually if it does not exist) is the same as the `--ws_http_port` in the Storage service configuration file. For example, both are `19779`.

- The `--ws_meta_http_port` in the Graph service configuration file (add it manually if it does not exist) is the same as the `--ws_http_port` in the Meta service configuration file. For example, both are `19559`.

Connect to the Nebula Graph database using the client tool and import the SST file as follows:

1. Run the following command to select the graph space you created earlier.
Expand Down