Configuring Cloudera Altus Dynamic Service Discovery

You can configure the connector to discover Impala services through Altus. When service discovery is enabled, the connector connects to Impala servers that are part of an Altus cluster.

To enable service discovery, specify the name of the Altus cluster where the Impala services are hosted.

To configure dynamic service discovery through Altus:

  1. Create a connection URL that uses the following format, where [ClusterName] is the name of the Altus cluster on which Impala services are hosted:
  2. jdbc:impala://[ClusterName]

  3. Optionally, to configure authentication, do the following:
    1. Set the AltusCredFile property to the full path of the directory where your credentials file is stored.
    2. Set the AltusProfileName property to the name of the profile that you want to use for authentication.
  4. By default, Altus service discovery uses a public IP address unless the list-cluster-instances API returns "none" for the public IP address. To always use a private IP address, set the AltusUsePrivateIP property to true.
Note:

To make sure that the connection URL is compatible with all JDBC applications, escape the backslashes (\) in your directory paths by typing another backslash.

For example:

jdbc:impala://AltusClusterForSimba;AltusCredFile=C:\\Documents\\AltusCredentialsFiles;AltusProfileName=jsmith;AltusUsePrivateIP=true;

For more information about the syntax of the connection URL, see Building the Connection URL.