com.cloudera.api.v13
Interface ServicesResourceV13

All Superinterfaces:
ServicesResource, ServicesResourceV10, ServicesResourceV11, ServicesResourceV2, ServicesResourceV3, ServicesResourceV4, ServicesResourceV6, ServicesResourceV7, ServicesResourceV8
All Known Subinterfaces:
ServicesResourceV14, ServicesResourceV15, ServicesResourceV16, ServicesResourceV17, ServicesResourceV18

public interface ServicesResourceV13
extends ServicesResourceV11


Method Summary
 ApiCommand createYarnCmContainerUsageInputDirCommand(String serviceName)
          Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics.
 ReplicationsResourceV13 getReplicationsResource(String serviceName)
          Retrieves the replication resource.
 
Methods inherited from interface com.cloudera.api.v11.ServicesResourceV11
getRolesResource, readService
 
Methods inherited from interface com.cloudera.api.v10.ServicesResourceV10
getRoleCommandsResource, hueDumpDbCommand, hueLoadDbCommand, hueSyncDbCommand, oozieCreateEmbeddedDatabaseCommand, sqoopCreateDatabaseTablesCommand
 
Methods inherited from interface com.cloudera.api.v8.ServicesResourceV8
collectYarnApplicationDiagnostics, disableLlamaHaCommand, disableLlamaRmCommand, enableLlamaHaCommand, enableLlamaRmCommand, hdfsFinalizeRollingUpgrade, sentryUpgradeDatabaseTablesCommand, yarnFormatStateStore
 
Methods inherited from interface com.cloudera.api.v7.ServicesResourceV7
firstRun, sentryCreateDatabaseCommand, sentryCreateDatabaseTablesCommand
 
Methods inherited from interface com.cloudera.api.v6.ServicesResourceV6
createImpalaUserDirCommand, createYarnJobHistoryDirCommand, createYarnNodeManagerRemoteAppLogDirCommand, disableOozieHaCommand, disableRmHaCommand, enableOozieHaCommand, enableRmHaCommand, getImpalaQueriesResource, getSnapshotsResource, getYarnApplicationsResource, hbaseUpgradeCommand, hdfsDisableNnHaCommand, hdfsEnableNnHaCommand, hdfsUpgradeMetadataCommand, hiveUpgradeMetastoreCommand, impalaCreateCatalogDatabaseCommand, impalaCreateCatalogDatabaseTablesCommand, importMrConfigsIntoYarn, listServiceCommands, oozieUpgradeDbCommand, serviceCommandByName, sqoopUpgradeDbCommand, switchToMr2
 
Methods inherited from interface com.cloudera.api.v4.ServicesResourceV4
createHiveUserDirCommand, createSolrHdfsHomeDirCommand, createSqoopUserDirCommand, disableJtHaCommand, enableJtHaCommand, getHdfsUsageReport, getMrUsageReport, hiveCreateMetastoreDatabaseCommand, hiveUpdateMetastoreNamenodesCommand, initSolrCommand
 
Methods inherited from interface com.cloudera.api.v3.ServicesResourceV3
createHiveWarehouseCommand, getRoleConfigGroupsResource, hdfsRollEditsCommand, hiveCreateMetastoreDatabaseTablesCommand, installOozieShareLib, rollingRestart, updateService
 
Methods inherited from interface com.cloudera.api.v2.ServicesResourceV2
createOozieDb, enterMaintenanceMode, exitMaintenanceMode, getClientConfig, hdfsCreateTmpDir, recommissionCommand
 
Methods inherited from interface com.cloudera.api.v1.ServicesResource
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
 

Method Detail

getReplicationsResource

@Path(value="/{serviceName}/replications")
ReplicationsResourceV13 getReplicationsResource(String serviceName)
Retrieves the replication resource. Only available with Cloudera Manager Enterprise Edition.

Specified by:
getReplicationsResource in interface ServicesResourceV11
Specified by:
getReplicationsResource in interface ServicesResourceV3
Specified by:
getReplicationsResource in interface ServicesResourceV4
Parameters:
serviceName - The service name.
Returns:
The replications resource handler.

createYarnCmContainerUsageInputDirCommand

@Path(value="/{serviceName}/commands/yarnCreateCmContainerUsageInputDirCommand")
ApiCommand createYarnCmContainerUsageInputDirCommand(String serviceName)
Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics.

Available since API v13.

Parameters:
serviceName - The YARN service name.
Returns:
Information about the submitted command.


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.