摘要: 1.HDFS读取文件 (1)首先调用FileSystem对象的open方法,其实获取的是一个DIstributedFileSystem的实例。 (2)DistributedFileSystem通过RPC(远程过程调用)获得文件的第一批block的locations,同一block按照重复数会返回多个 阅读全文
posted @ 2018-09-29 20:52 没有耳朵de猫 阅读(446) 评论(0) 推荐(0) 编辑