public class RoleCommandsResourceApi extends Object
Constructor and Description |
---|
RoleCommandsResourceApi() |
RoleCommandsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiBulkCommandList |
formatCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Format HDFS NameNodes.
|
com.squareup.okhttp.Call |
formatCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Format HDFS NameNodes.
|
com.squareup.okhttp.Call |
formatCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for formatCommand
|
ApiResponse<ApiBulkCommandList> |
formatCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Format HDFS NameNodes.
|
ApiClient |
getApiClient() |
ApiBulkCommandList |
hdfsBootstrapStandByCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Bootstrap HDFS stand-by NameNodes.
|
com.squareup.okhttp.Call |
hdfsBootstrapStandByCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Bootstrap HDFS stand-by NameNodes.
|
com.squareup.okhttp.Call |
hdfsBootstrapStandByCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hdfsBootstrapStandByCommand
|
ApiResponse<ApiBulkCommandList> |
hdfsBootstrapStandByCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Bootstrap HDFS stand-by NameNodes.
|
ApiBulkCommandList |
hdfsEnterSafemode(String clusterName,
String serviceName,
ApiRoleNameList body)
Enter safemode for namenodes.
|
com.squareup.okhttp.Call |
hdfsEnterSafemodeAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Enter safemode for namenodes.
|
com.squareup.okhttp.Call |
hdfsEnterSafemodeCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hdfsEnterSafemode
|
ApiResponse<ApiBulkCommandList> |
hdfsEnterSafemodeWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Enter safemode for namenodes.
|
ApiBulkCommandList |
hdfsFinalizeMetadataUpgrade(String clusterName,
String serviceName,
ApiRoleNameList body)
Finalize HDFS NameNode metadata upgrade.
|
com.squareup.okhttp.Call |
hdfsFinalizeMetadataUpgradeAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Finalize HDFS NameNode metadata upgrade.
|
com.squareup.okhttp.Call |
hdfsFinalizeMetadataUpgradeCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hdfsFinalizeMetadataUpgrade
|
ApiResponse<ApiBulkCommandList> |
hdfsFinalizeMetadataUpgradeWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Finalize HDFS NameNode metadata upgrade.
|
ApiBulkCommandList |
hdfsInitializeAutoFailoverCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Initialize HDFS HA failover controller metadata.
|
com.squareup.okhttp.Call |
hdfsInitializeAutoFailoverCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Initialize HDFS HA failover controller metadata.
|
com.squareup.okhttp.Call |
hdfsInitializeAutoFailoverCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hdfsInitializeAutoFailoverCommand
|
ApiResponse<ApiBulkCommandList> |
hdfsInitializeAutoFailoverCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Initialize HDFS HA failover controller metadata.
|
ApiBulkCommandList |
hdfsInitializeSharedDirCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Initialize HDFS NameNodes' shared edit directory.
|
com.squareup.okhttp.Call |
hdfsInitializeSharedDirCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Initialize HDFS NameNodes' shared edit directory.
|
com.squareup.okhttp.Call |
hdfsInitializeSharedDirCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hdfsInitializeSharedDirCommand
|
ApiResponse<ApiBulkCommandList> |
hdfsInitializeSharedDirCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Initialize HDFS NameNodes' shared edit directory.
|
ApiBulkCommandList |
hdfsLeaveSafemode(String clusterName,
String serviceName,
ApiRoleNameList body)
Leave safemode for namenodes.
|
com.squareup.okhttp.Call |
hdfsLeaveSafemodeAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Leave safemode for namenodes.
|
com.squareup.okhttp.Call |
hdfsLeaveSafemodeCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hdfsLeaveSafemode
|
ApiResponse<ApiBulkCommandList> |
hdfsLeaveSafemodeWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Leave safemode for namenodes.
|
ApiBulkCommandList |
hdfsSaveNamespace(String clusterName,
String serviceName,
ApiRoleNameList body)
Save namespace for namenodes.
|
com.squareup.okhttp.Call |
hdfsSaveNamespaceAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Save namespace for namenodes.
|
com.squareup.okhttp.Call |
hdfsSaveNamespaceCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for hdfsSaveNamespace
|
ApiResponse<ApiBulkCommandList> |
hdfsSaveNamespaceWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Save namespace for namenodes.
|
ApiBulkCommandList |
jmapDump(String clusterName,
String serviceName,
ApiRoleNameList body)
Run the jmapDump diagnostic command.
|
com.squareup.okhttp.Call |
jmapDumpAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Run the jmapDump diagnostic command.
|
com.squareup.okhttp.Call |
jmapDumpCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for jmapDump
|
ApiResponse<ApiBulkCommandList> |
jmapDumpWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Run the jmapDump diagnostic command.
|
ApiBulkCommandList |
jmapHisto(String clusterName,
String serviceName,
ApiRoleNameList body)
Run the jmapHisto diagnostic command.
|
com.squareup.okhttp.Call |
jmapHistoAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Run the jmapHisto diagnostic command.
|
com.squareup.okhttp.Call |
jmapHistoCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for jmapHisto
|
ApiResponse<ApiBulkCommandList> |
jmapHistoWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Run the jmapHisto diagnostic command.
|
ApiBulkCommandList |
jstack(String clusterName,
String serviceName,
ApiRoleNameList body)
Run the jstack diagnostic command.
|
com.squareup.okhttp.Call |
jstackAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Run the jstack diagnostic command.
|
com.squareup.okhttp.Call |
jstackCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for jstack
|
ApiResponse<ApiBulkCommandList> |
jstackWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Run the jstack diagnostic command.
|
ApiBulkCommandList |
lsof(String clusterName,
String serviceName,
ApiRoleNameList body)
Run the lsof diagnostic command.
|
com.squareup.okhttp.Call |
lsofAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Run the lsof diagnostic command.
|
com.squareup.okhttp.Call |
lsofCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for lsof
|
ApiResponse<ApiBulkCommandList> |
lsofWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Run the lsof diagnostic command.
|
ApiBulkCommandList |
refreshCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Refresh a role's data.
|
com.squareup.okhttp.Call |
refreshCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Refresh a role's data.
|
com.squareup.okhttp.Call |
refreshCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for refreshCommand
|
ApiResponse<ApiBulkCommandList> |
refreshCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Refresh a role's data.
|
ApiBulkCommandList |
restartCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Restart a set of role instances.
|
com.squareup.okhttp.Call |
restartCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Restart a set of role instances.
|
com.squareup.okhttp.Call |
restartCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for restartCommand
|
ApiResponse<ApiBulkCommandList> |
restartCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Restart a set of role instances.
|
ApiBulkCommandList |
roleCommandByName(String clusterName,
String commandName,
String serviceName,
ApiRoleNameList body)
Execute a role command by name.
|
com.squareup.okhttp.Call |
roleCommandByNameAsync(String clusterName,
String commandName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Execute a role command by name.
|
com.squareup.okhttp.Call |
roleCommandByNameCall(String clusterName,
String commandName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for roleCommandByName
|
ApiResponse<ApiBulkCommandList> |
roleCommandByNameWithHttpInfo(String clusterName,
String commandName,
String serviceName,
ApiRoleNameList body)
Execute a role command by name.
|
void |
setApiClient(ApiClient apiClient) |
ApiBulkCommandList |
startCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Start a set of role instances.
|
com.squareup.okhttp.Call |
startCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Start a set of role instances.
|
com.squareup.okhttp.Call |
startCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for startCommand
|
ApiResponse<ApiBulkCommandList> |
startCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Start a set of role instances.
|
ApiBulkCommandList |
stopCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Stop a set of role instances.
|
com.squareup.okhttp.Call |
stopCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Stop a set of role instances.
|
com.squareup.okhttp.Call |
stopCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for stopCommand
|
ApiResponse<ApiBulkCommandList> |
stopCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Stop a set of role instances.
|
ApiBulkCommandList |
syncHueDbCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Create / update the Hue database schema.
|
com.squareup.okhttp.Call |
syncHueDbCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Create / update the Hue database schema.
|
com.squareup.okhttp.Call |
syncHueDbCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for syncHueDbCommand
|
ApiResponse<ApiBulkCommandList> |
syncHueDbCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Create / update the Hue database schema.
|
ApiBulkCommandList |
zooKeeperCleanupCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Cleanup a list of ZooKeeper server roles.
|
com.squareup.okhttp.Call |
zooKeeperCleanupCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Cleanup a list of ZooKeeper server roles.
|
com.squareup.okhttp.Call |
zooKeeperCleanupCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for zooKeeperCleanupCommand
|
ApiResponse<ApiBulkCommandList> |
zooKeeperCleanupCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Cleanup a list of ZooKeeper server roles.
|
ApiBulkCommandList |
zooKeeperInitCommand(String clusterName,
String serviceName,
ApiRoleNameList body)
Initialize a list of ZooKeeper server roles.
|
com.squareup.okhttp.Call |
zooKeeperInitCommandAsync(String clusterName,
String serviceName,
ApiRoleNameList body,
ApiCallback<ApiBulkCommandList> callback)
Initialize a list of ZooKeeper server roles.
|
com.squareup.okhttp.Call |
zooKeeperInitCommandCall(String clusterName,
String serviceName,
ApiRoleNameList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for zooKeeperInitCommand
|
ApiResponse<ApiBulkCommandList> |
zooKeeperInitCommandWithHttpInfo(String clusterName,
String serviceName,
ApiRoleNameList body)
Initialize a list of ZooKeeper server roles.
|
public RoleCommandsResourceApi()
public RoleCommandsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call formatCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the NameNodes to format. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList formatCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the NameNodes to format. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> formatCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the NameNodes to format. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call formatCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the NameNodes to format. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hdfsBootstrapStandByCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the stand-by NameNodes to bootstrap. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList hdfsBootstrapStandByCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the stand-by NameNodes to bootstrap. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> hdfsBootstrapStandByCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the stand-by NameNodes to bootstrap. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hdfsBootstrapStandByCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the stand-by NameNodes to bootstrap. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hdfsEnterSafemodeCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to enter safemode. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList hdfsEnterSafemode(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to enter safemode. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> hdfsEnterSafemodeWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to enter safemode. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hdfsEnterSafemodeAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to enter safemode. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hdfsFinalizeMetadataUpgradeCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to finalize the upgrade. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList hdfsFinalizeMetadataUpgrade(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to finalize the upgrade. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> hdfsFinalizeMetadataUpgradeWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to finalize the upgrade. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hdfsFinalizeMetadataUpgradeAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to finalize the upgrade. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hdfsInitializeAutoFailoverCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the controllers to initialize. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList hdfsInitializeAutoFailoverCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the controllers to initialize. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> hdfsInitializeAutoFailoverCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the controllers to initialize. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hdfsInitializeAutoFailoverCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the controllers to initialize. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hdfsInitializeSharedDirCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the NameNodes. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList hdfsInitializeSharedDirCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the NameNodes. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> hdfsInitializeSharedDirCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the NameNodes. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hdfsInitializeSharedDirCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the NameNodes. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hdfsLeaveSafemodeCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to leave safemode. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList hdfsLeaveSafemode(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to leave safemode. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> hdfsLeaveSafemodeWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to leave safemode. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hdfsLeaveSafemodeAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to leave safemode. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call hdfsSaveNamespaceCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to save namespace. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList hdfsSaveNamespace(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to save namespace. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> hdfsSaveNamespaceWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to save namespace. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call hdfsSaveNamespaceAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- NameNodes for which to save namespace. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call jmapDumpCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jmap. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList jmapDump(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jmap. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> jmapDumpWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jmap. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call jmapDumpAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jmap. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call jmapHistoCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jmap. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList jmapHisto(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jmap. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> jmapHistoWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jmap. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call jmapHistoAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jmap. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call jstackCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jstack. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList jstack(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jstack. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> jstackWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jstack. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call jstackAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to jstack. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call lsofCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to lsof. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList lsof(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to lsof. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> lsofWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to lsof. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call lsofAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- the names of the roles to lsof. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call refreshCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList refreshCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> refreshCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call refreshCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call restartCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The name of the roles to restart. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList restartCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The name of the roles to restart. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> restartCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The name of the roles to restart. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call restartCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The name of the roles to restart. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call roleCommandByNameCall(String clusterName, String commandName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)commandName
- the name of command to execute. (required)serviceName
- (required)body
- the roles to run this command on. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList roleCommandByName(String clusterName, String commandName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)commandName
- the name of command to execute. (required)serviceName
- (required)body
- the roles to run this command on. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> roleCommandByNameWithHttpInfo(String clusterName, String commandName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)commandName
- the name of command to execute. (required)serviceName
- (required)body
- the roles to run this command on. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call roleCommandByNameAsync(String clusterName, String commandName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)commandName
- the name of command to execute. (required)serviceName
- (required)body
- the roles to run this command on. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call startCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles to start. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList startCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles to start. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> startCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles to start. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call startCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles to start. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call stopCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The role type. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList stopCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The role type. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> stopCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The role type. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call stopCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The role type. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call syncHueDbCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the Hue server roles. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList syncHueDbCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the Hue server roles. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> syncHueDbCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the Hue server roles. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call syncHueDbCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the Hue server roles. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call zooKeeperCleanupCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList zooKeeperCleanupCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> zooKeeperCleanupCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call zooKeeperCleanupCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call zooKeeperInitCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiBulkCommandList zooKeeperInitCommand(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiBulkCommandList> zooKeeperInitCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call zooKeeperInitCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiBulkCommandList> callback) throws ApiException
clusterName
- (required)serviceName
- (required)body
- The names of the roles. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.