com.cloudera.api.v7
Interface ClustersResourceV7
- All Superinterfaces:
- ClustersResource, ClustersResourceV2, ClustersResourceV3, ClustersResourceV4, ClustersResourceV5, ClustersResourceV6
- All Known Subinterfaces:
- ClustersResourceV10, ClustersResourceV11, ClustersResourceV12, ClustersResourceV13, ClustersResourceV14, ClustersResourceV15, ClustersResourceV16, ClustersResourceV17, ClustersResourceV18, ClustersResourceV8, ClustersResourceV9
public interface ClustersResourceV7
- extends ClustersResourceV6
getServicesResource
@Path(value="/{clusterName}/services")
ServicesResourceV7 getServicesResource(String clusterName)
- Specified by:
getServicesResource
in interface ClustersResource
- Specified by:
getServicesResource
in interface ClustersResourceV2
- Specified by:
getServicesResource
in interface ClustersResourceV3
- Specified by:
getServicesResource
in interface ClustersResourceV4
- Specified by:
getServicesResource
in interface ClustersResourceV6
- Returns:
- The services resource handler.
deployClusterClientConfig
@Path(value="/{clusterName}/commands/deployClusterClientConfig")
ApiCommand deployClusterClientConfig(String clusterName,
ApiHostRefList hosts)
- Deploy the Cluster's Kerberos client configuration.
Deploy krb5.conf to hosts in a cluster. Does not deploy to decommissioned
hosts or hosts with active processes.
Available since API v7.
- Parameters:
clusterName
- The name of the clusterhosts
- Hosts in cluster to deploy to. If empty, will target all eligible
hosts in the cluster.
- Returns:
- Information about the submitted command.
getClientConfig
@PermitAll
@Path(value="/{clusterName}/clientConfig")
org.apache.cxf.jaxrs.ext.multipart.InputStreamDataSource getClientConfig(String clusterName)
- Download a zip-compressed archive of the client configuration, of a
specific cluster. Currently, this only includes Kerberos Client
Configuration (krb5.conf). For client configuration of services, use the
clientConfig endpoint of the services resource. This resource does not
require any authentication.
- Parameters:
clusterName
- The cluster name.
- Returns:
- The archive data.
firstRun
@Path(value="/{clusterName}/commands/firstRun")
ApiCommand firstRun(String clusterName)
- Prepare and start services in a cluster.
Perform all the steps needed to prepare each service in a cluster and start the services
in order.
Available since API v7.
- Parameters:
clusterName
- The name of the cluster.
- Returns:
- Information about the submitted command.
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.