Kinetica C# API
Version 7.2.3.0
|
A set of parameters for Kinetica.adminRemoveRanks. More...
Classes | |
struct | Options |
A set of string constants for the parameter options. More... | |
Public Member Functions | |
AdminRemoveRanksRequest () | |
Constructs an AdminRemoveRanksRequest object with default parameters. More... | |
AdminRemoveRanksRequest (IList< string > ranks, IDictionary< string, string > options=null) | |
Constructs an AdminRemoveRanksRequest object with the specified parameters. More... | |
![]() | |
KineticaData (KineticaType type) | |
Constructor from Kinetica Type More... | |
KineticaData (System.Type type=null) | |
Default constructor, with optional System.Type More... | |
object | Get (int fieldPos) |
Retrieve a specific property from this object More... | |
void | Put (int fieldPos, object fieldValue) |
Write a specific property to this object More... | |
Properties | |
IList< string > | ranks = new List<string>() [get, set] |
Each array value designates one or more ranks to remove from the cluster. More... | |
IDictionary< string, string > | options = new Dictionary<string, string>() [get, set] |
Optional parameters. More... | |
![]() | |
Schema | Schema [get] |
Avro Schema for this class More... | |
Additional Inherited Members | |
![]() | |
static ? RecordSchema | SchemaFromType (System.Type t, KineticaType? ktype=null) |
Create an Avro Schema from a System.Type and a KineticaType. More... | |
A set of parameters for Kinetica.adminRemoveRanks.
Remove one or more ranks from an existing Kinetica cluster. All data will be rebalanced to other ranks before the rank(s) is removed unless the REBALANCE_SHARDED_DATA or REBALANCE_UNSHARDED_DATA parameters are set to FALSE in the options, in which case the corresponding sharded data and/or unsharded data (a.k.a. randomly-sharded) will be deleted.
The database must be offline for this operation, see Kinetica.adminOffline
This endpoint's processing time depends on the amount of data in the system, thus the API call may time out if run directly. It is recommended to run this endpoint asynchronously via Kinetica.createJob.
Definition at line 33 of file AdminRemoveRanks.cs.
|
inline |
Constructs an AdminRemoveRanksRequest object with default parameters.
Definition at line 168 of file AdminRemoveRanks.cs.
|
inline |
Constructs an AdminRemoveRanksRequest object with the specified parameters.
ranks | Each array value designates one or more ranks to remove from the cluster. Values can be formatted as 'rankN' for a specific rank, 'hostN' (from the gpudb.conf file) to remove all ranks on that host, or the host IP address (hostN.address from the gpub.conf file) which also removes all ranks on that host. Rank 0 (the head rank) cannot be removed (but can be moved to another host using Kinetica.adminSwitchover). At least one worker rank must be left in the cluster after the operation. |
options | Optional parameters.
|
Definition at line 247 of file AdminRemoveRanks.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 164 of file AdminRemoveRanks.cs.
|
getset |
Each array value designates one or more ranks to remove from the cluster.
Values can be formatted as 'rankN' for a specific rank, 'hostN' (from the gpudb.conf file) to remove all ranks on that host, or the host IP address (hostN.address from the gpub.conf file) which also removes all ranks on that host. Rank 0 (the head rank) cannot be removed (but can be moved to another host using Kinetica.adminSwitchover). At least one worker rank must be left in the cluster after the operation.
Definition at line 98 of file AdminRemoveRanks.cs.