Using hadoop module to access HDFS