com.cloudera.api.v6
Interface MgmtServiceResourceV6

All Superinterfaces:
MgmtServiceResource, MgmtServiceResourceV2, MgmtServiceResourceV3
All Known Subinterfaces:
MgmtServiceResourceV18, MgmtServiceResourceV8

public interface MgmtServiceResourceV6
extends MgmtServiceResourceV3


Method Summary
 void autoAssignRoles()
          Automatically assign roles to hosts and create the roles for the Cloudera Management Service.
 void autoConfigure()
          Automatically configures roles of the Cloudera Management Service.
 ApiService deleteCMS()
          Delete the Cloudera Management Services.
 
Methods inherited from interface com.cloudera.api.v3.MgmtServiceResourceV3
getRoleConfigGroupsResource
 
Methods inherited from interface com.cloudera.api.v2.MgmtServiceResourceV2
readService
 
Methods inherited from interface com.cloudera.api.v1.MgmtServiceResource
getMgmtRoleCommandsResource, getRolesResource, listActiveCommands, listRoleTypes, readService, readServiceConfig, restartCommand, setupCMS, startCommand, stopCommand, updateServiceConfig
 

Method Detail

deleteCMS

@Path(value="/")
ApiService deleteCMS()
Delete the Cloudera Management Services.

This method will fail if a CMS instance doesn't already exist.

Returns:
ApiService The deleted CMS information.

autoAssignRoles

@Path(value="/autoAssignRoles")
void autoAssignRoles()
Automatically assign roles to hosts and create the roles for the Cloudera Management Service.

Assignments are done based on number of hosts in the deployment and hardware specifications. If no hosts are part of the deployment, an exception will be thrown preventing any role assignments. Existing roles will be taken into account and their assignments will be not be modified. The deployment should not have any clusters when calling this endpoint. If it does, an exception will be thrown preventing any role assignments.

Available since API v6.


autoConfigure

@Path(value="/autoConfigure")
void autoConfigure()
Automatically configures roles of the Cloudera Management Service.

Overwrites some existing configurations. Only default role config groups must exist before calling this endpoint. Other role config groups must not exist. If they do, an exception will be thrown preventing any configuration. Ignores any clusters (and their services and roles) colocated with the Cloudera Management Service. To avoid over-committing the heap on hosts, place the Cloudera Management Service roles on machines not used by any of the clusters.

Available since API v6.



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