Hdfs本地短路读取文件

本地短路读取文件:

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未使用超时时间.

posted @ 2015-08-08 21:55  天天吃火锅  阅读(223)  评论(0)    收藏  举报