HDFS utils for queries