public interface ClustersResourceV7 extends ClustersResourceV6
| Modifier and Type | Method and Description |
|---|---|
ApiCommand |
deployClusterClientConfig(String clusterName,
ApiHostRefList hosts)
Deploy the Cluster's Kerberos client configuration.
|
ApiCommand |
firstRun(String clusterName)
Prepare and start services in a cluster.
|
org.apache.cxf.jaxrs.ext.multipart.InputStreamDataSource |
getClientConfig(String clusterName)
Download a zip-compressed archive of the client configuration, of a
specific cluster.
|
ServicesResourceV7 |
getServicesResource(String clusterName) |
autoAssignRoles, autoConfigure, listServiceTypes, poolsRefresh, refresh, restartCommand, updateCluster, upgradeCdhCommandgetParcelsResourcerollingRestartaddHosts, getHostTemplatesResource, listHosts, removeAllHosts, removeHostdeployClientConfig, enterMaintenanceMode, exitMaintenanceModecreateClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand@Path(value="/{clusterName}/services")
ServicesResourceV7 getServicesResource(String clusterName)
getServicesResource in interface ClustersResourcegetServicesResource in interface ClustersResourceV2getServicesResource in interface ClustersResourceV3getServicesResource in interface ClustersResourceV4getServicesResource in interface ClustersResourceV6@Path(value="/{clusterName}/commands/deployClusterClientConfig")
ApiCommand deployClusterClientConfig(String clusterName,
ApiHostRefList hosts)
Deploy krb5.conf to hosts in a cluster. Does not deploy to decommissioned hosts or hosts with active processes.
Available since API v7.
clusterName - The name of the clusterhosts - Hosts in cluster to deploy to. If empty, will target all eligible
hosts in the cluster.@PermitAll @Path(value="/{clusterName}/clientConfig") org.apache.cxf.jaxrs.ext.multipart.InputStreamDataSource getClientConfig(String clusterName)
clusterName - The cluster name.@Path(value="/{clusterName}/commands/firstRun")
ApiCommand firstRun(String clusterName)
Perform all the steps needed to prepare each service in a cluster and start the services in order.
Available since API v7.
clusterName - The name of the cluster.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.