Get client configurations

Starting with ADH 4.0.0, you can export client configurations of the services currently installed in an ADH cluster. The exported configurations can be used, for example, to configure client software that connects to ADH, or to configure the services of another ADH cluster.

Overview

The configuration export functionality is embedded into the Core configuration service. Particularly, the service has the Export client configurations action, which collects configurations of the currently installed services, archives them, and makes them available for download via an Nginx endpoint.

NOTE
The Configuration server and Hive Tez components must not be mapped on the same ADH host.

The configurations are exported as separate .tar.gz archives for each service. The list of exported services and files is presented below.

Exported configuration files

The Export client configurations action exports configurations for the following services.

Service Configuration file(s)

Core configuration

core-site.xml

ssl-client.xml

log4j.properties.xml

HDFS

hdfs-site.xml

log4j.properties.xml

YARN

yarn-env.sh

yarn-site.xml

mapred-site.xml

Hive

hive-site.xml

hive-env.sh

beeline-hs2-connection.xml

beeline-log4j2.properties

hive-log4j2.properties

hive-log4j.properties

hive-metastore-env.sh

hive-server2-env.sh

tez-site.xml

Solr

solr.xml

solr-env.sh

log4j2-console.xml

log4j2.xml

HBase

hbase-site.xml

hbase-env.sh

log4j.properties

Flink

flink-conf.yaml

flink-env.sh

log4j-cli.properties

log4j.properties

Impala

impalarc

impala-shell-env.sh

hive-site.xml

Spark

spark-defaults.conf

spark-env.sh

hive-site.xml

log4j2.properties

Ozone

ozone-site.xml

NOTE
Sensitive data (passwords, secrets, JCEK keystores, etc.) are not included in the exported configuration files.

Configuration export example

The following steps show how to export the configurations of an ADH cluster:

  1. In ADCM, go to Clusters → <cluster_name> → Services → Core configuration.

  2. Run the Export client configurations service action.

  3. Go to the Core configuration → Info page and follow the Configuration server web interface link (http://<configuration_server_host>:9998). The web page displays a list of tar.gz archives with configurations for each service. For example:

    ../
    all_configs.tar.gz   13-Aug-2025 16:06    7948
    core.tar.gz          13-Aug-2025 16:06    4632
    hdfs.tar.gz          13-Aug-2025 16:06    1494
    yarn.tar.gz          13-Aug-2025 16:06    2486

    You can download an archive by clicking the archive link.

Found a mistake? Seleсt text and press Ctrl+Enter to report it