Reply
Contributor
Posts: 31
Registered: ‎09-19-2017
Accepted Solution

Transpatent Huge Page in Centos/Redhat

Hi there,

 

Whenever instaling Cloudera on Redhat 7 or Centos 7, after disabling the transparent hugepage, the warning still showing, I have already put the following lines to /etc/rc.local, however it is still the same.

 

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

 

I tried the following as well.

echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled

 

Thank you.

Champion
Posts: 756
Registered: ‎05-16-2016

Re: Transpatent Huge Page in Centos/Redhat

what version of kernel are you using ? 

did this happens after reboot ? 

do you have permission to change the value 

Contributor
Posts: 31
Registered: ‎09-19-2017

Re: Transpatent Huge Page in Centos/Redhat

Helo csguna,

 

The kernel is 3.10, after rebooted it is the same, I am using root account.

 

 

Contributor
Posts: 31
Registered: ‎09-19-2017

Re: Transpatent Huge Page in Centos/Redhat

after changing the rc.local to executable, it solved the issue

 

$chmod +x /etc/rc.d/rc.local

Announcements