Home | Trees | Indices | Help |
---|
|
object --+ | types.BaseApiObject --+ | types.BaseApiResource --+ | ApiCluster
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
_ATTRIBUTES =
|
|||
Inherited from |
|
|||
Inherited from |
|
Initializes internal state and sets all known writable properties of the object to None. Then initializes the properties given in the provided attributes dictionary.
|
Default implementation of __str__. Uses the type name and the first attribute retrieved from the attribute map to create the string.
|
Returns the path to the resource. e.g., for a service 'foo' in cluster 'bar', this should return '/clusters/bar/services/foo'.
|
Get all service types supported by this cluster.
|
Retrieve a list of running commands for this cluster.
|
Rename a cluster.
Since: API v2 |
Manually set the CDH version.
Since: API v6 |
Create a service.
|
Delete a service by name.
|
Lookup a service by name.
|
Get all services in this cluster.
|
Lookup a parcel by product and version.
|
Get all parcels in this cluster.
|
Lists all the hosts that are associated with this cluster.
Since: API v3 |
Removes the association of the host with the cluster.
Since: API v3 |
Removes the association of all the hosts with the cluster.
Since: API v3 |
Adds a host to the cluster.
Since: API v3 |
Start all services in a cluster, respecting dependencies.
|
Stop all services in a cluster, respecting dependencies.
|
Restart all services in the cluster. Services are restarted in the appropriate order given their dependencies. @param restart_only_stale_services: Only restart services that have stale configuration and their dependent services. Default is False. @param redeploy_client_configuration: Re-deploy client configuration for all services in the cluster. Default is False. @param restart_service_names: Only restart services that are specified and their dependent services. Available since API v11. @since API v6 @return: Reference to the submitted command. |
Deploys Service client configuration to the hosts on the cluster.
Since: API v2 |
Deploys Cluster client configuration (Kerberos configuration) to the hosts on the cluster. Any hosts that are decommissioned or have running roles will be skipped.
Since: API v7 |
This command is no longer recommended with API v6 onwards. It simply does not work when parcels are used, and even with packages it may fail due to a race. Use upgrade_cdh instead. Upgrades the services in the cluster to CDH5 version. This command requires that the CDH packages in the hosts used by the cluster be upgraded to CDH5 before this command is issued. Once issued, this command will stop all running services before proceeding. If parcels are used instead of CDH system packages then the following steps need to happen in order:
The command will upgrade the services and their configuration to the version available in the CDH5 distribution.
Deprecated: since API v6 |
Put the cluster in maintenance mode.
Since: API v2 |
Take the cluster out of maintenance mode.
Since: API v2 |
Retrieves all host templates in the cluster.
|
Retrieves a host templates by name.
|
Creates a host template.
|
Deletes a host template.
|
Command to do a "best-effort" rolling restart of the given cluster, i.e. it does plain restart of services that cannot be rolling restarted, followed by first rolling restarting non-slaves and then rolling restarting the slave roles of services that can be rolling restarted. The slave restarts are done host-by-host.
Since: API v4 |
Command to do a rolling upgrade of services in the given cluster This command does not handle any services that don't support rolling upgrades. The command will throw an error and not start if upgrade of any such service is requested. This command does not upgrade the full CDH Cluster. You should normally use the upgradeCDH Command for upgrading the cluster. This is primarily helpful if you need to need to recover from an upgrade failure or for advanced users to script an alternative to the upgradeCdhCommand. This command expects the binaries to be available on hosts and activated. It does not change any binaries on the hosts.
Since: API v10 |
Automatically assign roles to hosts and create the roles for all the services in a cluster. Assignments are done based on services in the cluster and hardware specifications. Existing roles will be taken into account and their assignments will be not be modified. Since: API v6 |
Automatically configures roles and services in a cluster. Overwrites some existing configurations. Might create new role config groups. 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 the Cloudera Management Service even if colocated with roles of this cluster. To avoid over-committing the heap on hosts, assign hosts to this cluster that are not being used by the Cloudera Management Service. Since: API v6 |
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.
Since: API v7 |
Perform CDH upgrade to the next major version. In v9+, also supports minor CDH 5 upgrades (5.a.b to 5.x.y where x > a) and supports maintenance release changes (a.b.x to a.b.y). If using packages, CDH packages on all hosts of the cluster must be manually upgraded before this command is issued. The command will upgrade the services and their configuration to the requested version. All running services will be stopped before proceeding, unless rolling restart is requested and is available.
Since: API v6 for major upgrades only, v9 for maintenance and CDH 5 minor releases. |
Command to configure the cluster to use Kerberos for authentication. This command will configure all relevant services on a cluster for Kerberos usage. This command will trigger a GenerateCredentials command to create Kerberos keytabs for all roles in the cluster.
Since: API v11 |
Export the cluster template for the given cluster. ccluster must have host templates defined. It cluster does not have host templates defined it will export host templates based on roles assignment.
Since: API v12 |
Refresh Dynamic Pools configurations for relevant services..
Since: API v6 |
List available DFS (distributed file system) services in a cluster.
Since: API v12 |
|
_ATTRIBUTES
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jan 31 10:52:17 2017 | http://epydoc.sourceforge.net |