[BAD-106] Platform Support for CDH 5.2

Backported from master ce49a22