additional changes to make compatible with glusterfs-hadoop plugin 2.1.18