Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

many parameters from ambari gui are diff from json why?

avatar

hi all

in the Amabri GUI we have a lot of parameters that actually have different name from the json file (we generate json file from blueprint )

as the following 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

any idea if we can find some table that show the parameters from amabri and the equivalent parameters from json ?

or any other advice ?

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Contributor

Hi @uri ben-ari,

You can find the display-names and the property names in the xml configs like hdfs-site, hadoop-env.xml, core-site.xml, etc.

https://github.com/apache/ambari/blob/cc412e66156d5a887a725015537dcb75b0caf986/ambari-server/src/mai...

https://github.com/apache/ambari/blob/cc412e66156d5a887a725015537dcb75b0caf986/ambari-server/src/mai...

for example:

 <property>    
    <name>dfs.datanode.max.transfer.threads</name>    
    <value>1024</value>    
    <description>
    Specifies the maximum number of threads to use for transferring data in and out of the datanode.
    </description>
    <display-name>DataNode max data transfer threads</display-name>
    <value-attributes>
      <type>int</type>      
        <minimum>0</minimum>      
        <maximum>48000</maximum>    
    </value-attributes>    
    <on-ambari-upgrade add="true"/>
</property>

If you can't find something under the common-services then go the appropriate stack directory:

ambari-server/src/main/resources/stacks/<STACK>/<STACK_VERSION>/services/<SERVICE_NAME>/configuration

View solution in original post

1 REPLY 1

avatar
Contributor

Hi @uri ben-ari,

You can find the display-names and the property names in the xml configs like hdfs-site, hadoop-env.xml, core-site.xml, etc.

https://github.com/apache/ambari/blob/cc412e66156d5a887a725015537dcb75b0caf986/ambari-server/src/mai...

https://github.com/apache/ambari/blob/cc412e66156d5a887a725015537dcb75b0caf986/ambari-server/src/mai...

for example:

 <property>    
    <name>dfs.datanode.max.transfer.threads</name>    
    <value>1024</value>    
    <description>
    Specifies the maximum number of threads to use for transferring data in and out of the datanode.
    </description>
    <display-name>DataNode max data transfer threads</display-name>
    <value-attributes>
      <type>int</type>      
        <minimum>0</minimum>      
        <maximum>48000</maximum>    
    </value-attributes>    
    <on-ambari-upgrade add="true"/>
</property>

If you can't find something under the common-services then go the appropriate stack directory:

ambari-server/src/main/resources/stacks/<STACK>/<STACK_VERSION>/services/<SERVICE_NAME>/configuration