Kinetica C# API
Version 7.1.10.0
|
A set of parameters for Kinetica.adminRemoveRanks(IList{string},IDictionary{string, string}). More...
Classes | |
struct | Options |
Optional parameters. 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 [get, set] |
Each array value designates one or more ranks to remove from the cluster. More... | |
IDictionary< string, string > | options = new List<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(IList{string},IDictionary{string, string}).
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(bool,IDictionary{string, string})
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(string,string,byte[],string,IDictionary{string, string}).
Definition at line 40 of file AdminRemoveRanks.cs.
|
inline |
Constructs an AdminRemoveRanksRequest object with default parameters.
Definition at line 238 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 /admin/switchover). At least one worker rank must be left in the cluster after the operation. |
options | Optional parameters.
|
Definition at line 312 of file AdminRemoveRanks.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 233 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 /admin/switchover). At least one worker rank must be left in the cluster after the operation.
Definition at line 171 of file AdminRemoveRanks.cs.