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

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

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

origin: org.apache.hadoop/hadoop-hdfs

cleanupBlock();
origin: org.apache.hadoop/hadoop-hdfs

cleanupBlock();
origin: com.facebook.hadoop/hadoop-core

} catch(IOException ioe) {
 IOUtils.closeStream(this);
 cleanupBlock();
origin: com.facebook.hadoop/hadoop-core

  responder.interrupt();
 cleanupBlock();
 throw ioe;
} finally {
origin: org.jvnet.hudson.hadoop/hadoop-core

} catch(IOException ioe) {
 IOUtils.closeStream(this);
 cleanupBlock();
origin: ch.cern.hadoop/hadoop-hdfs

cleanupBlock();
origin: org.jvnet.hudson.hadoop/hadoop-core

  responder.interrupt();
 cleanupBlock();
 throw ioe;
} finally {
origin: io.prestosql.hadoop/hadoop-apache

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

} catch(IOException ioe) {
 IOUtils.closeStream(this);
 cleanupBlock();
origin: io.prestosql.hadoop/hadoop-apache

} catch(IOException ioe) {
 IOUtils.closeStream(this);
 cleanupBlock();
org.apache.hadoop.hdfs.server.datanodeBlockReceivercleanupBlock

Javadoc

Cleanup a partial block if this write is for a replication request (and not from a client)

Popular methods of BlockReceiver

  • <init>
  • close
    close files and release volume reference.
  • 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

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Github Copilot alternatives
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