Package org.apache.hadoop.dfs

Examples of org.apache.hadoop.dfs.DatanodeInfo


      assertEquals(datanodes.size(), 3);
      DataNode dataNode = datanodes.get(2);
     
      // report corrupted block by the third datanode
      cluster.getNameNode().namesystem.markBlockAsCorrupt(blk,
          new DatanodeInfo(dataNode.dnRegistration ));
     
      // open the file
      fs.open(FILE_PATH);
     
      //clean up
View Full Code Here

TOP

Related Classes of org.apache.hadoop.dfs.DatanodeInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.