use local hadoop config to access hdfs.