Created on 01-24-2016 11:13 PM - edited 09-16-2022 02:59 AM
need to have a clear list of RHEL kernel parameters need change for hortonworks/ambari installation
Created 01-24-2016 11:25 PM
Please take a look on chapter 2 and 3
Created 01-24-2016 11:25 PM
Please take a look on chapter 2 and 3
Created 01-24-2016 11:36 PM
See this
/etc/init.d/iptables stop
Disable SELinux and PackageKit and check the UMASK Value
Disable THP
/etc/init.d/ntpd start
sysctl -w vm.swappiness=0
sysctl -w fs.file-max=300000
Again...please follow this as it will make things way easier https://gist.github.com/nsabharwal/683adf76260ea9010532
Created 01-24-2016 11:48 PM
to disable THP
if test -f /sys/kernel/mm/redhat_transparent_hugepage/defrag; then echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag fi then I got > dont know what to do next.
Created 01-25-2016 12:00 AM
You have to do this in all the nodes.
*** Disable THP *** In ambari host vi /etc/rc.local and add following lines if test -f /sys/kernel/mm/transparent_hugepage/enabled; then echo never > /sys/kernel/mm/transparent_hugepage/enabled fi if test -f /sys/kernel/mm/transparent_hugepage/defrag; then echo never > /sys/kernel/mm/transparent_hugepage/defrag fi
Created 01-24-2016 11:48 PM
I made all other changes ok.
Created 01-25-2016 12:00 AM
please view the following scripts. Link
Created 01-25-2016 01:27 PM
this is the best answer for my question.
Created 01-25-2016 01:33 PM
@Robin Dong please accept the best answer, it is not clear what answer solved your problem.