[BAD-106] Platform Support for CDH 5.2

Backported from master https://github.com/pentaho/pentaho-hadoop-shims/commit/ce49a227189e05f43e3bac12b5fa56ad2cf6f10f