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

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

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

origin: org.apache.hadoop/hadoop-hdfs

public void sendOOB() throws IOException, InterruptedException {
 BlockReceiver br = getCurrentBlockReceiver();
 if (br == null) {
  return;
 }
 // This doesn't need to be in a critical section. Althogh the client
 // can resue the connection to issue a different request, trying sending
 // an OOB through the recently closed block receiver is harmless.
 LOG.info("Sending OOB to peer: {}", peer);
 br.sendOOB();
}
origin: ch.cern.hadoop/hadoop-hdfs

public void sendOOB() throws IOException, InterruptedException {
 LOG.info("Sending OOB to peer: " + peer);
 if(blockReceiver!=null)
  blockReceiver.sendOOB();
}

origin: io.prestosql.hadoop/hadoop-apache

public void sendOOB() throws IOException, InterruptedException {
 LOG.info("Sending OOB to peer: " + peer);
 if(blockReceiver!=null)
  blockReceiver.sendOOB();
}

org.apache.hadoop.hdfs.server.datanodeBlockReceiversendOOB

Popular methods of BlockReceiver

  • <init>
  • cleanupBlock
    Cleanup a partial block if this write is for a replication request (and not from a client)
  • 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
  • claimReplicaHandler,
  • copyLastChunkChecksum,
  • flushOrSync,
  • getReplica,
  • manageWriterOsCache,
  • packetSentInTime,
  • setLastSentTime,
  • shouldVerifyChecksum,
  • translateChunks

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Option (scala)
  • Top plugins for WebStorm
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