Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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