Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Transpatent Huge Page in Centos/Redhat

avatar
Rising Star

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.

1 ACCEPTED SOLUTION

avatar
Rising Star

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

 

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

View solution in original post

3 REPLIES 3

avatar
Champion

what version of kernel are you using ? 

did this happens after reboot ? 

do you have permission to change the value 

avatar
Rising Star

Helo csguna,

 

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

 

 

avatar
Rising Star

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

 

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