I have a HDP cluster in HA mode & have java client that needs to download the configuration files (hdfs-site, core xml, etc) at runtime. How to achieve it? I believe cloudera manager provide URL way downloading config files, do we have something similar with ambari?
@Parmeet Arora, can you please add more details about what your Java client needs to do end-to-end? Does it really need access to the raw XML files, or does it instead need access to a specific set of configuration values? Would this Java application run on one of the cluster nodes, or would it need to run external to the cluster? Would it possibly need to support multiple different clusters running with different configurations? These details might steer the solution in a few different directions. Thanks!
you can go to /conf from the URL of any Hadoop service and get the conf file they used.
Be aware: these are the raw configurations; they may have things like hostnames as 0.0.0.0, telling the service to listen on all ports