本地短路讀取文件:
dfs.client.read.shortcircuit=true;#開啓本地磁盤讀
dfs.block.local-path-access.user=hdfs#可以使用本地讀的用戶
dfs.client.read.shortcircuit.skip.checksum=false#是否跳過checksum
dfs.client.read.shortcircuit.streams.cache.size=256;#DFSClient能同時掌握的File Description數
dfs.client.read.shortcircuit.streams.cache.expiry.ms=300000;#cache未使用超時時間.