Compatibility classes for hadoop2