DataNode function ( LocatedBlock arg0 ) { DatanodeInfo [ ] loc0 = arg0 . getLocations ( ) ; int loc1 = loc0 [ 0 ] . getIpcPort ( ) ; return cluster . getDataNode ( loc1 ) ; }
get a datanode that serves our testblock . concode_field_sep HdfsConfiguration conf concode_elem_sep MiniDFSCluster cluster concode_field_sep void enableShortCircuitShmTracing concode_elem_sep void readAndCheckEOS concode_elem_sep void enableHdfsCachingTracing concode_elem_sep HdfsConfiguration getConf concode_elem_sep void enableBlockReaderFactoryTracing concode_elem_sep List<LocatedBlock> getFileBlocks concode_elem_sep BlockReader getBlockReader concode_elem_sep BlockReader getBlockReader concode_elem_sep MiniDFSCluster getCluster concode_elem_sep boolean shouldTestLargeFiles concode_elem_sep byte[] writeFile concode_elem_sep void shutdown concode_elem_sep DFSClient getDFSClient