Package org.apache.hadoop.fs

Examples of org.apache.hadoop.fs.FSClientReadProfilingData


    BlockSeekContext seekContext = new BlockSeekContext(getBlockAt(
        block.getStartOffset(), false, true));
    DFSReadProfilingData pData = DFSClient.getDFSReadProfilingData();
   
    while (true) {
      FSClientReadProfilingData cliData = null;
      if (pData != null) {
        cliData = new FSClientReadProfilingData();
        pData.addDFSClientReadProfilingData(cliData);
        cliData.startRead();
      }
     
      DNAddrPair retval = chooseDataNode(seekContext, ignored);
      DatanodeInfo chosenNode = retval.info;
View Full Code Here


          fetchBlockByteRangeSpeculative(blk, targetStart,
                              targetStart + bytesToRead - 1, buffer, offset,
                              options);
        } else {
          if (pData != null) {
            cliData = new FSClientReadProfilingData();
            pData.addDFSClientReadProfilingData(cliData);
            cliData.startRead();
          }
         
          fetchBlockByteRange(blk, targetStart,
View Full Code Here

TOP

Related Classes of org.apache.hadoop.fs.FSClientReadProfilingData

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.