Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

list of RHEL kernel parameter change for hortonworks/ambari installation

Solved Go to solution

list of RHEL kernel parameter change for hortonworks/ambari installation

Contributor

need to have a clear list of RHEL kernel parameters need change for hortonworks/ambari installation

1 ACCEPTED SOLUTION

Accepted Solutions

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

8 REPLIES 8

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

@Robin Dong

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

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

Contributor

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.

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

@Robin Dong

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

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

Contributor

I made all other changes ok.

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

Mentor
@Robin Dong

please view the following scripts. Link

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

Contributor

this is the best answer for my question.

Re: list of RHEL kernel parameter change for hortonworks/ambari installation

Mentor

@Robin Dong please accept the best answer, it is not clear what answer solved your problem.