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.

Commands to disable hugepage on linux at host registration

Highlighted

Commands to disable hugepage on linux at host registration

Contributor

In the registration hosts during install HDP cluster, there is warning about hugepage is enbaled on all hosts.

However, only when I install CDH 5, I found these 2 commands provided to disable hugepage on linux

echo never >/sys/kernel/mm/transparent_hugepage/defrag

echo never > /sys/kernel/mm/transparent_hugepage/enabled

they commended to add to /etc/rc.d/, so every time it is up after reboot.

thanks,

Robin

2 REPLIES 2
Highlighted

Re: Commands to disable hugepage on linux at host registration

Guru

check RedHat article here https://access.redhat.com/solutions/46111

Re: Commands to disable hugepage on linux at host registration

Contributor

yes, this link provide exact the same commands. however, do you think Hortonworks better have these commands in the Ambari installation. instead gave a warning and having installer to check all over the places to find out?

Don't have an account?
Coming from Hortonworks? Activate your account here