discover_cloudera_cluster

Discovers the Hadoop cluster for the specified Cloudera Manager host. Can also be used for rediscovery of the latest cluster configuration changes.

Format

emcli discover_cloudera_cluster
        -hostname = "host_name"
        -cloudera_credential = "cloudera_named_cred"
        -host_credential  = "host_named_cred"

Options

  • hostname

    Name of one of the hosts that form the cluster.

  • cloudera_credential

    Named credentials for the Cloudera Manager managing the cluster.

  • host_credential

    Named credentials for the specified host.

Example

The following example discovers the Hadoop cluster that includes a host named acme101.com, using the provided named credentials:

emcli discover_bda_cluster
        -hostname="acme101.com"
        -cloudera_credential="CM_CRED"
        -host_credential="HOST_CRED"