Rebalances an existing partitioned graph.IMPORTANT: It’s highly recommended that you review the
Graphs and Solvers concepts
documentation, the Graph REST Tutorial,
and/or some graph examples before using this
endpoint.
Input Parameter Description
string
Name of the graph resource to rebalance.
map of string to strings
Optional parameters.The default value is an empty map ( {} ).
Show options
If a non-empty value is specified, the original graph will be kept (non-default behavior) and a new balanced graph will be created under this given name. When the value is empty (default), the generated ‘balanced’ graph will replace the original ‘unbalanced’ graph under the same graph name.The default value is ”.
The distributed shortest path solve is run from this source node to all the nodes in the graph to create balanced partitions using the iso-distance levels of the solution. The source node is selected by the rebalance algorithm automatically (default case when the value is an empty string). Otherwise, the user specified node is used as the source.The default value is ”.
Output Parameter Description
The Kinetica server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query. Here is a description of the various fields of the wrapper:
String
‘OK’ or ‘ERROR’
String
Empty if success or an error message
String
‘repartition_graph_response’ or ‘none’ in case of an error
String
Empty string
JSON or String
This embedded JSON represents the result of the /repartition/graph endpoint:
Show data_str
boolean
Indicates a successful rebalancing on all servers.
map of string to strings
Additional information.
Empty string in case of an error.
Assistant
Responses are generated using AI and may contain mistakes.