Disable Transparent Hugepage Compaction on all systems

Description

Apparently, not all CentOS are equal.

https://github.com/RallySoftware-cookbooks/hadoop_cookbook/commit/fe7eab73a5f4ed033c5a0fa6e6e992f50bf41ca8

It appears that not all releases of CentOS out there have /sys/mm/redhat_transparent_hugepage with a transparent_hugepage symlink. Some versions only have /sys/mm/transparent_hugepage... This means we cannot rely on node['platform_family'] and need to be more creative.

Release Notes

None

Activity

Show:
Chris Gianelloni
June 24, 2015, 11:39 PM
Derek Wood
June 25, 2015, 12:43 AM

fixed in https://github.com/caskdata/hadoop_cookbook/pull/205

It now iterates over the (short) list of known possible locations for the transparent_hugepage tunables, and defines the resource when it finds one.

Fixed

Assignee

Derek Wood

Reporter

Chris Gianelloni

Labels

None

Docs Impact

None

UX Impact

None

Components

Priority

Major
Configure