0

Why not all parameters from ambari cluster not represented by the blueprint json file ?

I generated the blueprint json file as the foolwing:

 curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://10.23.4.122:8080/api/v1/clusters/HDP01?format=blueprint -o /tmp/HDP01_blueprint.json

but when I access to the ambari GUI we noticed that many parameters not appears in the blueprint json file

example of parameters from HDFS – config that not appears in the blueprint json file

DataNode failed disk tolerance

DataNode maximum Java heap size

DataNode max data transfer threads
King David
  • 500
  • 1
  • 7
  • 20

1 Answers1

0

You should be seeing all parameters in output json file.

For few parameters Ambari GUI shows different names. Example:

DataNode failed disk tolerance - appears as dfs.datanode.failed.volumes.tolerated in ouput json

DataNode maximum Java heap size - appears as dtnode_heapsiz in ouput json

DataNode max data transfer threads - appears as dfs.datanode.max.transfer.threads in ouput json

Shubhangi
  • 2,229
  • 2
  • 14
  • 14
  • 1
    first of all thank you so much , so how we can find each parameter from ambari GUI that is relevant to the json ( as you know we have more then 3000 parameters ) how we can handle this ? – King David Aug 15 '17 at 16:30
  • btw - do you have chance to give me tip about my previous question - https://stackoverflow.com/questions/45688805/how-to-convert-blueprint-json-file-to-csv-file – King David Aug 15 '17 at 16:38
  • @David, please accept answer if you are satisfied with it. About your question in comment- you will find parameter actual name and display name mapping in /var/lib/ambari-server/resources/common-services///configuration/ e.g. /var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/configuration/hdfs-site.xml – Shubhangi Aug 15 '17 at 16:40
  • under the folder we see only that - core-site.xml hadoop-env.xml hadoop-policy.xml hdfs-log4j.xml hdfs-logsearch-conf.xml hdfs-site.xml ssl-client.xml ssl-server.xml ( but I think we have alot of missing parameters that not defined on the xml above ) – King David Aug 15 '17 at 16:50
  • @David, I think you are referring /var/lib/ambari-server/resources/common-services/HDFS/2.1.0.‌​2.0/configuration directory , which will include only HDFS service related files. Please check configurations directory for other services such as HIVE, HBASE etc – Shubhangi Aug 15 '17 at 16:54