摘要:
一、文件的打開 1.1、客戶端 HDFS打開一個文件,需要在客戶端調用DistributedFileSystem.open(Path f, int bufferSize),其實現(xiàn)為: public FSDataInputStream open(Path f, int bufferSize) throws IOException { return new DFSClient.DFSDataInputStream( dfs.open(getPathName(f), bufferSize, verifyChecksum, statistics)); } 其中dfs為Distributed... 閱讀全文
posted @ 2010-11-10 21:40
劉超覺先
閱讀(26889)
評論(4)
推薦(5)

浙公網(wǎng)安備 33010602011771號