Fixes for Hadoop1 HDFS