public interface MgmtServiceResourceV6 extends MgmtServiceResourceV3
Modifier and Type | Method and Description |
---|---|
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.
|
getRoleConfigGroupsResource
readService
getMgmtRoleCommandsResource, getRolesResource, listActiveCommands, listRoleTypes, readService, readServiceConfig, restartCommand, setupCMS, startCommand, stopCommand, updateServiceConfig
@Path(value="/") ApiService deleteCMS()
This method will fail if a CMS instance doesn't already exist.
@Path(value="/autoAssignRoles") void autoAssignRoles()
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.
@Path(value="/autoConfigure") void autoConfigure()
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.