Created on 09-13-2018 06:28 AM - edited 08-18-2019 12:47 AM
in order to explain my question I will give the following example
under YARN --> CONFIG
we have the following setings
and then we CHANGE the following NEW settings
as we can see the value - 100 is greater then scrollbar recommended
in that case when we set the value 100
what is the real value that ambari is using ?
dose ambari take the max value - 96 ?
or ambari take the value - 100 ?
Created 09-13-2018 09:49 AM
Hi @Michael Bronson ,
ambari will give you recommendations on the Value to be set. You can set any value as per your Cluster and business logic.
Once you saved and restart the Yarn clients the changes will be synced to your yarn-site.xml
if you are able to save the configuration after clickin on proceed anyway ambari will save 100 .
Please see if this helps you.
Created 09-13-2018 06:43 AM
The yarn.nodemanager.resource.cpu-vcores
value sets the
number of CPU cores that can be allocated for containers.You should set the number of vcores to match the number of physical CPU cores on the
NodeManager hosts.
So depends on how many CPU cores do you have?
Following is a good reference point for vcores: https://hortonworks.com/blog/managing-cpu-resources-in-your-hadoop-yarn-clusters/
.
Created 09-13-2018 07:24 AM
@Jay regarding my question what actuality happens if I set the value - 100 that is more then ambari recomended , dose ambari will take the value 100 anyway ? , or the limit is 96 ?
Created 09-13-2018 07:26 AM
@Jay , can you look on my question on thred - https://community.hortonworks.com/questions/221835/how-to-calculate-the-yarnnodemanagerresourcecpu-v... , I will really apritiate your opinion
Created 09-13-2018 09:49 AM
Hi @Michael Bronson ,
ambari will give you recommendations on the Value to be set. You can set any value as per your Cluster and business logic.
Once you saved and restart the Yarn clients the changes will be synced to your yarn-site.xml
if you are able to save the configuration after clickin on proceed anyway ambari will save 100 .
Please see if this helps you.