com.cloudera.api.v11
Interface ServicesResourceV11

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

public interface ServicesResourceV11
extends ServicesResourceV10


Method Summary
 ReplicationsResourceV11 getReplicationsResource(String serviceName)
          Retrieves the replication resource.
 RolesResourceV11 getRolesResource(String serviceName)
           
 ApiService readService(String serviceName, DataView dataView)
          Retrieves details information about a service.
 
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

getRolesResource

RolesResourceV11 getRolesResource(String serviceName)
Specified by:
getRolesResource in interface ServicesResource
Specified by:
getRolesResource in interface ServicesResourceV2
Specified by:
getRolesResource in interface ServicesResourceV4
Specified by:
getRolesResource in interface ServicesResourceV6
Specified by:
getRolesResource in interface ServicesResourceV8
Returns:
The roles resource handler.

getReplicationsResource

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

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

readService

@Path(value="/{serviceName}")
ApiService readService(String serviceName,
                            DataView dataView)
Retrieves details information about a service.

Parameters:
serviceName - The service name.
dataView - DataView to materialize. Defaults to 'full'.
Returns:
The details of the service.


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