摘要: 单机版使用的是FileSystem类的静态函数:FileSystem hdfs = FileSystem.get(conf) 伪分布式下需要使用Path来获得Path path = new Path("hdfs://mlj:9000/dir"); FileSystem hdfs = path.ge... 阅读全文
posted @ 2015-06-07 14:01 孟想阳光 阅读(894) 评论(0) 推荐(0)