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

add repartitionWithNebula for Exchange #1054

Merged
merged 1 commit into from
Jan 19, 2022
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ For different data sources, the vertex configurations are different. There are m
|Parameter|Type|Default value|Required|Description|
|:---|:---|:---|:---|:---|
|`tags.path`|string|-|Yes|The path of the source file specified to generate SST files.|
|`tags.repartitionWithNebula`|bool|`false`|No|Whether to repartition data based on the number of partitions of graph spaces in Nebula Graph when generating the SST file. Enabling this function can reduce the time required to DOWNLOAD and INGEST SST files.|

### Specific parameters of Nebula Graph

Expand Down Expand Up @@ -216,6 +217,13 @@ For the specific parameters of different data sources for edge configurations, p
|`edges.batch`|int|`256`|Yes|The maximum number of edges written into Nebula Graph in a single batch.|
|`edges.partition`|int|`32`|Yes|The number of Spark partitions.|

### Specific parameters for generating SST files

|Parameter|Type|Default value|Required|Description|
|:---|:---|:---|:---|:---|
|`edges.path`|string|-|Yes|The path of the source file specified to generate SST files.|
|`edges.repartitionWithNebula`|bool|`false`|No|Whether to repartition data based on the number of partitions of graph spaces in Nebula Graph when generating the SST file. Enabling this function can reduce the time required to DOWNLOAD and INGEST SST files.|

### Specific parameters of Nebula Graph

|Parameter|Type|Default value|Required|Description|
Expand Down
12 changes: 12 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 @@ -278,6 +278,9 @@ After Exchange is compiled, copy the conf file `target/classes/application.conf`
# The number of Spark partitions.
partition: 32
# Whether to repartition data based on the number of partitions of graph spaces in Nebula Graph when generating the SST file.
repartitionWithNebula: false
}
# Set the information about the Tag Team.
Expand Down Expand Up @@ -323,6 +326,9 @@ After Exchange is compiled, copy the conf file `target/classes/application.conf`
# The number of Spark partitions.
partition: 32
# Whether to repartition data based on the number of partitions of graph spaces in Nebula Graph when generating the SST file.
repartitionWithNebula: false
}
Expand Down Expand Up @@ -381,6 +387,9 @@ After Exchange is compiled, copy the conf file `target/classes/application.conf`
# The number of Spark partitions.
partition: 32
# Whether to repartition data based on the number of partitions of graph spaces in Nebula Graph when generating the SST file.
repartitionWithNebula: false
}
# Set the information about the Edge Type serve.
Expand Down Expand Up @@ -432,6 +441,9 @@ After Exchange is compiled, copy the conf file `target/classes/application.conf`
# The number of Spark partitions.
partition: 32
# Whether to repartition data based on the number of partitions of graph spaces in Nebula Graph when generating the SST file.
repartitionWithNebula: false
}
]
Expand Down