I am trying to disable Transparent Huge Pages in my CentOS for HDP2.2 installation. I am using this link for the reference but I am still getting the issue.I tried to add this also:Adding the following lines to /etc/rc.d/rc.local and restarted the machine.echo never > /sys/kernel/mm/transparent_hugepage/enabledecho never > /sys/kernel/mm/transparent_hugepage/defragAnd give execution rights to the file:chmod +x /etc/rc.d/rc.localReference from Hortonworks link  and disable transparent hugepagesI have tried editing /etc/rc.local and restated the machine.if   test -f /sys/kernel/mm/redhat_transparent_hugepage/defrag; then   echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag fiif   test -f /sys/kernel/mm/redhat_transparent_hugepage/enabled; then   echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled fiWhen I do: cat /sys/kernel/mm/transparent_hugepage/enabled I get below message on console:[always] madvise neverCan you please explain the exact meaning of this message.I rebooted the machine and restarted the Ambari but ambari installation wizard is still saying thatTransparent Huge Pages is still enabled . I am new in it and looking for some help to resolve the issue.
How to Disable Transparent Huge Pages in CentOS6.6
linux;centos;hadoop