curl -u amabriusername:amabripassword -H "X-Requested-By: ambari" -X GET http://localhost:8080/api/v1/clusters/clsutername/components?format=client_config_tar -o /tmp/All_Configs/cluster_configs.tar.gz
with above curl command i am only able to download client config at particular host but not able to get configs for
INFRA_SOLR JOURNALNODE LIVY_SERVER
ect , what is rest api to achieve same
What do you mean by you are not able to get configs for APP_TIMELINE_SERVER, HBASE_REGIONSERVER, DATANODE, HBASE_REGIONSERVER .... HIVE_METASTORE, HIVE_SERVER, INFRA_SOLR JOURNALNODE LIVY_SERVE, ..
The above names are for individual Components (not the Services). You can have the configurations for Services like "core-site.xml" and "hdfs-site.xml" are the configurations for HDFS service and with these configuration files you can get the details about DataNode as well.
Similarly if you have the "yarn-site.xml" , "capacity-scheduler.xml" then you get the about whole yarn.
As mentioned in the other thread: https://community.hortonworks.com/questions/135152/rest-api-to-fetch-config-files-like-hdfs-sitexml-...
For Individual Components like "JOURNALNODE" we do not have separate configration files. For example if you want to know the Journal Node specific informations like dfs.journalnode.edits.dir, dfs.journalnode.http-address, dfs.journalnode.https-address ...etc then you can fidn them inside the "hdfs-site.xml"