Tabnine Logo
BlockReceiver.close
Code IndexAdd Tabnine to your IDE (free)

How to use
close
method
in
org.apache.hadoop.hdfs.server.datanode.BlockReceiver

Best Java code snippets using org.apache.hadoop.hdfs.server.datanode.BlockReceiver.close (Showing top 11 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

BlockReceiver.this.close();
endTime = ClientTraceLog.isInfoEnabled() ? System.nanoTime() : 0;
block.setNumBytes(replicaInfo.getNumBytes());
origin: org.apache.hadoop/hadoop-hdfs

close();
block.setNumBytes(replicaInfo.getNumBytes());
origin: org.jvnet.hudson.hadoop/hadoop-core

receiver.close();
block.setNumBytes(receiver.offsetInBlock);
datanode.data.finalizeBlock(block);
origin: org.jvnet.hudson.hadoop/hadoop-core

receiver.close();
block.setNumBytes(receiver.offsetInBlock);
datanode.data.finalizeBlock(block);
origin: ch.cern.hadoop/hadoop-hdfs

BlockReceiver.this.close();
endTime = ClientTraceLog.isInfoEnabled() ? System.nanoTime() : 0;
block.setNumBytes(replicaInfo.getNumBytes());
origin: com.facebook.hadoop/hadoop-core

receiver.close();
final long endTime = ClientTraceLog.isInfoEnabled() ? System.nanoTime() : 0;
block.setNumBytes(receiver.offsetInBlock);
origin: com.facebook.hadoop/hadoop-core

close();
origin: ch.cern.hadoop/hadoop-hdfs

close();
block.setNumBytes(replicaInfo.getNumBytes());
origin: org.jvnet.hudson.hadoop/hadoop-core

close();
origin: io.prestosql.hadoop/hadoop-apache

close();
block.setNumBytes(replicaInfo.getNumBytes());
origin: io.prestosql.hadoop/hadoop-apache

BlockReceiver.this.close();
endTime = ClientTraceLog.isInfoEnabled() ? System.nanoTime() : 0;
block.setNumBytes(replicaInfo.getNumBytes());
org.apache.hadoop.hdfs.server.datanodeBlockReceiverclose

Javadoc

close files and release volume reference.

Popular methods of BlockReceiver

  • <init>
  • cleanupBlock
    Cleanup a partial block if this write is for a replication request (and not from a client)
  • computePartialChunkCrc
    reads in the partial crc chunk and computes checksum of pre-existing data in partial chunk.
  • handleMirrorOutError
    While writing to mirrorOut, failure to write to mirror should not affect this datanode unless it is
  • receiveBlock
  • receivePacket
    Receives and processes a packet. It can contain many chunks. returns the number of data bytes that t
  • verifyChunks
    Verify multiple CRC chunks.
  • adjustCrcFilePosition
    Adjust the file pointer in the local meta file so that the last checksum will be overwritten.
  • checksum2long
    Convert a checksum byte array to a long
  • claimReplicaHandler
    The caller claims the ownership of the replica handler.
  • copyLastChunkChecksum
  • flushOrSync
    Flush block data and metadata files to disk.
  • copyLastChunkChecksum,
  • flushOrSync,
  • getReplica,
  • manageWriterOsCache,
  • packetSentInTime,
  • sendOOB,
  • setLastSentTime,
  • shouldVerifyChecksum,
  • translateChunks

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now