Package | Description |
---|---|
com.cloudera.api.model |
Java models of the underlying API JSON objects, with JAX-B annotations.
|
com.cloudera.api.v1 |
API version 1, introduced in Cloudera Manager 4.0.
|
com.cloudera.api.v2 |
API version 2, introduced in Cloudera Manager 4.1.
|
com.cloudera.api.v3 |
API version 3, introduced in Cloudera Manager 4.5.
|
com.cloudera.api.v4 |
API version 4, introduced in Cloudera Manager 4.6.
|
Modifier and Type | Class and Description |
---|---|
class |
ApiSchedule<T extends ApiCommand>
Base class for commands that can be scheduled in Cloudera Manager.
|
Modifier and Type | Class and Description |
---|---|
class |
ApiReplicationCommand
Information about a replication command.
|
Modifier and Type | Method and Description |
---|---|
ApiCommand |
ApiCommand.getParent()
Reference to the parent command, if any.
|
Modifier and Type | Method and Description |
---|---|
List<ApiCommand> |
ApiCommandList.getCommands() |
Modifier and Type | Method and Description |
---|---|
void |
ApiCommand.setParent(ApiCommand parent) |
Constructor and Description |
---|
ApiCommand(Long id,
String name,
Date startTime,
Date endTime,
boolean active,
Boolean success,
String resultMessage,
String resultDataUrl,
ApiClusterRef clusterRef,
ApiServiceRef serviceRef,
ApiRoleRef roleRef,
ApiHostRef hostRef,
ApiCommandList children,
ApiCommand parent) |
Modifier and Type | Method and Description |
---|---|
ApiCommand |
CommandsResource.abortCommand(long commandId)
Abort a running command.
|
ApiCommand |
ClouderaManagerResource.collectDiagnosticDataCommand(ApiCollectDiagnosticDataArguments args)
Collect diagnostic data from hosts managed by Cloudera Manager.
|
ApiCommand |
ServicesResource.createBeeswaxWarehouseCommand(String serviceName)
Deprecated.
Use hiveCreateHiveWarehouse on the Hive service instead.
Deprecated since V4.
|
ApiCommand |
ServicesResource.createHBaseRootCommand(String serviceName)
Creates the root directory of an HBase service.
|
ApiCommand |
ServicesResource.decommissionCommand(String serviceName,
ApiRoleNameList roleNames)
Decommission roles of a service.
|
ApiCommand |
ServicesResource.deployClientConfigCommand(String serviceName,
ApiRoleNameList roleNames)
Deploy a service's client configuration.
|
ApiCommand |
ClouderaManagerResource.generateCredentialsCommand()
Generate missing Kerberos credentials.
|
ApiCommand |
ServicesResource.hdfsDisableAutoFailoverCommand(String serviceName,
String nameservice)
Disable auto-failover for a highly available HDFS nameservice.
|
ApiCommand |
ServicesResource.hdfsDisableHaCommand(String serviceName,
ApiHdfsDisableHaArguments args)
Disable high availability (HA) for an HDFS NameNode.
|
ApiCommand |
ServicesResource.hdfsEnableAutoFailoverCommand(String serviceName,
ApiHdfsFailoverArguments args)
Enable auto-failover for an HDFS nameservice.
|
ApiCommand |
ServicesResource.hdfsEnableHaCommand(String serviceName,
ApiHdfsHaArguments args)
Enable high availability (HA) for an HDFS NameNode.
|
ApiCommand |
ServicesResource.hdfsFailoverCommand(String serviceName,
boolean force,
ApiRoleNameList roleNames)
Initiate a failover in an HDFS HA NameNode pair.
|
ApiCommand |
ClouderaManagerResource.inspectHostsCommand()
Runs the host inspector on the configured hosts.
|
ApiCommand |
CommandsResource.readCommand(long commandId)
Retrieve detailed information on an asynchronous command.
|
ApiCommand |
MgmtServiceResource.restartCommand()
Restart the Cloudera Management Services.
|
ApiCommand |
ClustersResource.restartCommand(String clusterName)
Restart all services in the cluster.
|
ApiCommand |
ServicesResource.restartCommand(String serviceName)
Restart the service.
|
ApiCommand |
MgmtServiceResource.startCommand()
Start the Cloudera Management Services.
|
ApiCommand |
ClustersResource.startCommand(String clusterName)
Start all services in the cluster.
|
ApiCommand |
ServicesResource.startCommand(String serviceName)
Start the service.
|
ApiCommand |
MgmtServiceResource.stopCommand()
Stop the Cloudera Management Services.
|
ApiCommand |
ClustersResource.stopCommand(String clusterName)
Stop all services in the cluster.
|
ApiCommand |
ServicesResource.stopCommand(String serviceName)
Stop the service.
|
ApiCommand |
ClustersResource.upgradeServicesCommand(String clusterName)
Upgrades the services in the cluster to the CDH4 version.
|
ApiCommand |
ServicesResource.zooKeeperCleanupCommand(String serviceName)
Clean up all running server instances of a ZooKeeper service.
|
ApiCommand |
ServicesResource.zooKeeperInitCommand(String serviceName)
Initializes all the server instances of a ZooKeeper service.
|
Modifier and Type | Method and Description |
---|---|
ApiCommand |
ServicesResourceV2.createOozieDb(String serviceName)
Creates the Oozie Database Schema in the configured database.
|
ApiCommand |
ClustersResourceV2.deployClientConfig(String clusterName)
Deploy the cluster-wide client configuration.
|
ApiCommand |
HostsResourceV2.enterMaintenanceMode(String hostId)
Put the host into maintenance mode.
|
ApiCommand |
RolesResourceV2.enterMaintenanceMode(String roleName)
Put the role into maintenance mode.
|
ApiCommand |
ClustersResourceV2.enterMaintenanceMode(String clusterName)
Put the cluster into maintenance mode.
|
ApiCommand |
ServicesResourceV2.enterMaintenanceMode(String serviceName)
Put the service into maintenance mode.
|
ApiCommand |
HostsResourceV2.exitMaintenanceMode(String hostId)
Take the host out of maintenance mode.
|
ApiCommand |
RolesResourceV2.exitMaintenanceMode(String roleName)
Take the role out of maintenance mode.
|
ApiCommand |
ClustersResourceV2.exitMaintenanceMode(String clusterName)
Take the cluster out of maintenance mode.
|
ApiCommand |
ServicesResourceV2.exitMaintenanceMode(String serviceName)
Take the service out of maintenance mode.
|
ApiCommand |
ServicesResourceV2.hdfsCreateTmpDir(String serviceName)
Creates a tmp directory on the HDFS filesystem.
|
ApiCommand |
ClouderaManagerResourceV2.hostsDecommissionCommand(ApiHostNameList hostNameList)
Decommission the given hosts.
|
ApiCommand |
ClouderaManagerResourceV2.hostsRecommissionCommand(ApiHostNameList hostNameList)
Recommission the given hosts.
|
ApiCommand |
ClouderaManagerResourceV2.hostsStartRolesCommand(ApiHostNameList hostNameList)
Start all the roles on the given hosts.
|
ApiCommand |
ServicesResourceV2.recommissionCommand(String serviceName,
ApiRoleNameList roleNames)
Recommission roles of a service.
|
Modifier and Type | Method and Description |
---|---|
ApiCommand |
ParcelResource.activateCommand()
A synchronous command that activates the parcel on the cluster.
|
ApiCommand |
HostTemplatesResource.applyHostTemplate(String hostTemplateName,
ApiHostRefList hosts,
boolean startRoles)
Applies a host template to a collection of hosts.
|
ApiCommand |
ParcelResource.cancelDistributionCommand()
A synchronous command that cancels the parcel distribution.
|
ApiCommand |
ParcelResource.cancelDownloadCommand()
A synchronous command that cancels the parcel download.
|
ApiCommand |
ServicesResourceV3.createHiveWarehouseCommand(String serviceName)
Create the Hive warehouse directory, on Hive services.
|
ApiCommand |
ParcelResource.deactivateCommand()
A synchronous command that deactivates the parcel on the cluster.
|
ApiCommand |
ServicesResourceV3.hdfsRollEditsCommand(String serviceName,
ApiRollEditsArgs rollEditsArgs)
Roll the edits of an HDFS NameNode or Nameservice.
|
ApiCommand |
ServicesResourceV3.hiveCreateMetastoreDatabaseTablesCommand(String serviceName)
Create the Hive Metastore Database tables.
|
ApiCommand |
ServicesResourceV3.installOozieShareLib(String serviceName)
Creates directory for Oozie user in HDFS and installs the ShareLib in it.
|
ApiCommand |
ParcelResource.removeDownloadCommand()
A synchronous command that removes the downloaded parcel.
|
ApiCommand |
ServicesResourceV3.rollingRestart(String serviceName,
ApiRollingRestartArgs args)
Command to run rolling restart of roles in a service.
|
ApiCommand |
ReplicationsResource.runSchedule(long scheduleId,
boolean dryRun)
Run the schedule immediately.
|
ApiCommand |
ParcelResource.startDistributionCommand()
A synchronous command that starts the distribution of the parcel
to the cluster.
|
ApiCommand |
ParcelResource.startDownloadCommand()
A synchronous command that starts the parcel download.
|
ApiCommand |
ParcelResource.startRemovalOfDistributionCommand()
A synchronous command that removes the distribution from the hosts in
the cluster.
|
ApiCommand |
CmPeersResource.testPeer(String peerName)
Test the connectivity of a peer.
|
Modifier and Type | Method and Description |
---|---|
ApiCommand |
ServicesResourceV4.createHiveUserDirCommand(String serviceName)
Create the Hive user directory
|
ApiCommand |
ServicesResourceV4.createSolrHdfsHomeDirCommand(String serviceName)
Creates the home directory of a Solr service in HDFS.
|
ApiCommand |
ServicesResourceV4.createSqoopUserDirCommand(String serviceName)
Creates the user directory of a Sqoop service in HDFS.
|
ApiCommand |
ServicesResourceV4.disableJtHaCommand(String serviceName,
ApiDisableJtHaArguments args)
Disable high availability (HA) for JobTracker.
|
ApiCommand |
ServicesResourceV4.enableJtHaCommand(String serviceName,
ApiEnableJtHaArguments args)
Enable high availability (HA) for a JobTracker.
|
ApiCommand |
ServicesResourceV4.hiveCreateMetastoreDatabaseCommand(String serviceName)
Create the Hive Metastore Database.
|
ApiCommand |
ServicesResourceV4.hiveUpdateMetastoreNamenodesCommand(String serviceName)
Update Hive Metastore to point to a NameNode's Nameservice name instead of
hostname.
|
ApiCommand |
ServicesResourceV4.initSolrCommand(String serviceName)
Initializes the Solr service in Zookeeper.
|
ApiCommand |
ClustersResourceV4.rollingRestart(String clusterName,
ApiRollingRestartClusterArgs args)
Command to do a "best-effort" rolling restart of the given cluster,
i.e.
|
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.