Support Questions

Find answers, ask questions, and share your expertise

How to download HBase configuration files programatically?

avatar

I have a HDP cluster & have java client that needs to download the configuration files (hdfs-site.xml, core-site.xml, hbase-site) at runtime? how do i achieve this? Cloudera Manager provides provide URL way downloading config files, do we have something similar with ambari?

1 ACCEPTED SOLUTION

avatar
Guru

Hi @Balachandra Pai

There is a very good tutorial here showing how to use the Ambari APIs to download client configs:

https://community.hortonworks.com/articles/76303/download-client-configs.html

View solution in original post

2 REPLIES 2

avatar
Guru

Hi @Balachandra Pai

There is a very good tutorial here showing how to use the Ambari APIs to download client configs:

https://community.hortonworks.com/articles/76303/download-client-configs.html

avatar
Master Collaborator

For hbase, you can obtain configuration from the following URL:

master-node:16010/conf