adjust for current HDFS release