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.
|
Deploys client configuration to the hosts on the cluster.
Since: API v2 |
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 |
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 |
Perform CDH upgrade to the next major version. 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 version available in the CDH5 distribution. All running services will be stopped before proceeding.
Since: API v6 |
|
_ATTRIBUTES
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jul 17 13:52:02 2014 | http://epydoc.sourceforge.net |