prepared the compatibility layer for Hadoop V2