public interface ServicesResourceV3 extends ServicesResourceV2
Modifier and Type | Method and Description |
---|---|
ApiCommand |
createHiveWarehouseCommand(String serviceName)
Create the Hive warehouse directory, on Hive services.
|
ReplicationsResource |
getReplicationsResource(String serviceName)
Returns the replications resource handler.
|
RoleCommandsResourceV3 |
getRoleCommandsResource(String serviceName) |
RoleConfigGroupsResource |
getRoleConfigGroupsResource(String serviceName) |
ApiCommand |
hdfsRollEditsCommand(String serviceName,
ApiRollEditsArgs rollEditsArgs)
Roll the edits of an HDFS NameNode or Nameservice.
|
ApiCommand |
hiveCreateMetastoreDatabaseTablesCommand(String serviceName)
Create the Hive Metastore Database tables.
|
ApiCommand |
installOozieShareLib(String serviceName)
Creates directory for Oozie user in HDFS and installs the ShareLib in it.
|
ApiCommand |
rollingRestart(String serviceName,
ApiRollingRestartArgs args)
Command to run rolling restart of roles in a service.
|
ApiService |
updateService(String serviceName,
ApiService service)
Updates service information.
|
createOozieDb, enterMaintenanceMode, exitMaintenanceMode, getClientConfig, getRolesResource, hdfsCreateTmpDir, recommissionCommand
createBeeswaxWarehouseCommand, createHBaseRootCommand, createServices, decommissionCommand, deleteService, deployClientConfigCommand, getActivitiesResource, getMetrics, getNameservicesResource, hdfsDisableAutoFailoverCommand, hdfsDisableHaCommand, hdfsEnableAutoFailoverCommand, hdfsEnableHaCommand, hdfsFailoverCommand, listActiveCommands, listRoleTypes, readService, readServiceConfig, readServices, restartCommand, startCommand, stopCommand, updateServiceConfig, zooKeeperCleanupCommand, zooKeeperInitCommand
@Path(value="/{serviceName}/replications") ReplicationsResource getReplicationsResource(String serviceName)
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
@Path(value="/{serviceName}/commands/rollingRestart") ApiCommand rollingRestart(String serviceName, ApiRollingRestartArgs args)
Available since API v3. Only available with Cloudera Manager Enterprise Edition.
@Path(value="/{serviceName}/commands/installOozieShareLib") ApiCommand installOozieShareLib(String serviceName)
serviceName
- Name of the Oozie service on which to run the command.@Path(value="/{serviceName}/roleConfigGroups") RoleConfigGroupsResource getRoleConfigGroupsResource(String serviceName)
@Path(value="/{serviceName}/commands/hdfsRollEdits") ApiCommand hdfsRollEditsCommand(String serviceName, ApiRollEditsArgs rollEditsArgs)
Available since API v3.
serviceName
- The HDFS service name.rollEditsArgs
- Arguments to the Roll Edits command.@Path(value="/{serviceName}") ApiService updateService(String serviceName, ApiService service)
serviceName
- The service name.service
- Updated service information.@Path(value="/{serviceName}/commands/hiveCreateMetastoreDatabaseTables") ApiCommand hiveCreateMetastoreDatabaseTablesCommand(String serviceName)
This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only Available when all Hive Metastore Servers are stopped.
Available since API v3.
serviceName
- Name of the Hive service on which to run the command.@Path(value="/{serviceName}/commands/hiveCreateHiveWarehouse") ApiCommand createHiveWarehouseCommand(String serviceName)
Available since API v3.
serviceName
- The Hive service name.@Path(value="/{serviceName}/roleCommands") RoleCommandsResourceV3 getRoleCommandsResource(String serviceName)
getRoleCommandsResource
in interface ServicesResource
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.