com.cloudera.api.v12
Interface ClustersResourceV12

All Superinterfaces:
ClustersResource, ClustersResourceV10, ClustersResourceV11, ClustersResourceV2, ClustersResourceV3, ClustersResourceV4, ClustersResourceV5, ClustersResourceV6, ClustersResourceV7, ClustersResourceV8, ClustersResourceV9
All Known Subinterfaces:
ClustersResourceV13, ClustersResourceV14, ClustersResourceV15, ClustersResourceV16, ClustersResourceV17, ClustersResourceV18

public interface ClustersResourceV12
extends ClustersResourceV11


Method Summary
 ApiClusterTemplate export(String clusterName, boolean exportAutoConfig)
          Export the cluster template for the given cluster.
 ApiServiceList listDfsServices(String clusterName, DataView view)
          List the services that can provide distributed file system (DFS) capabilities in this cluster.
 
Methods inherited from interface com.cloudera.api.v11.ClustersResourceV11
configureForKerberos, getServicesResource
 
Methods inherited from interface com.cloudera.api.v10.ClustersResourceV10
rollingUpgrade
 
Methods inherited from interface com.cloudera.api.v9.ClustersResourceV9
upgradeCdhCommand
 
Methods inherited from interface com.cloudera.api.v8.ClustersResourceV8
inspectHostsCommand
 
Methods inherited from interface com.cloudera.api.v7.ClustersResourceV7
deployClusterClientConfig, firstRun, getClientConfig
 
Methods inherited from interface com.cloudera.api.v6.ClustersResourceV6
autoAssignRoles, autoConfigure, listServiceTypes, poolsRefresh, refresh, restartCommand, updateCluster
 
Methods inherited from interface com.cloudera.api.v5.ClustersResourceV5
getParcelsResource
 
Methods inherited from interface com.cloudera.api.v4.ClustersResourceV4
rollingRestart
 
Methods inherited from interface com.cloudera.api.v3.ClustersResourceV3
addHosts, getHostTemplatesResource, listHosts, removeAllHosts, removeHost
 
Methods inherited from interface com.cloudera.api.v2.ClustersResourceV2
deployClientConfig, enterMaintenanceMode, exitMaintenanceMode
 
Methods inherited from interface com.cloudera.api.v1.ClustersResource
createClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand
 

Method Detail

export

@Path(value="/{clusterName}/export")
ApiClusterTemplate export(String clusterName,
                               boolean exportAutoConfig)
Export the cluster template for the given cluster. If cluster does not have host templates defined it will export host templates based on roles assignment.

Parameters:
clusterName - cluster name
exportAutoConfig - export configs set by the auto configuration
Returns:
Cluster template

listDfsServices

@Path(value="/{clusterName}/dfsServices")
ApiServiceList listDfsServices(String clusterName,
                                    DataView view)
List the services that can provide distributed file system (DFS) capabilities in this cluster.

Parameters:
clusterName - cluster name
view - data view required for matching services
Returns:
Services that provide DFS capabilities in this cluster


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