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

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

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

origin: org.apache.hadoop/hadoop-hdfs

public synchronized void sendOOBToPeers() {
 if (!datanode.shutdownForUpgrade) {
  return;
 }
 for (Peer p : peers.keySet()) {
  try {
   peersXceiver.get(p).sendOOB();
  } catch (IOException e) {
   LOG.warn("Got error when sending OOB message.", e);
  } catch (InterruptedException e) {
   LOG.warn("Interrupted when sending OOB message.");
  }
 }
}
origin: ch.cern.hadoop/hadoop-hdfs

public synchronized void sendOOBToPeers() {
 if (!datanode.shutdownForUpgrade) {
  return;
 }
 for (Peer p : peers.keySet()) {
  try {
   peersXceiver.get(p).sendOOB();
  } catch (IOException e) {
   LOG.warn("Got error when sending OOB message.", e);
  } catch (InterruptedException e) {
   LOG.warn("Interrupted when sending OOB message.");
  }
 }
}

origin: io.prestosql.hadoop/hadoop-apache

public synchronized void sendOOBToPeers() {
 if (!datanode.shutdownForUpgrade) {
  return;
 }
 for (Peer p : peers.keySet()) {
  try {
   peersXceiver.get(p).sendOOB();
  } catch (IOException e) {
   LOG.warn("Got error when sending OOB message.", e);
  } catch (InterruptedException e) {
   LOG.warn("Interrupted when sending OOB message.");
  }
 }
}

org.apache.hadoop.hdfs.server.datanodeDataXceiversendOOB

Popular methods of DataXceiver

  • <init>
  • sendResponse
    Utility function for sending a response.
  • updateCurrentThreadName
    Update the current thread's name to contain the current status. Use this only after this receiver ha
  • checkAccess
  • checkAndWaitForBP
    Wait until the BP is registered, upto the configured amount of time. Throws an exception if times ou
  • create
  • elapsed
  • getBufferedOutputStream
    Separated for testing.
  • getOutputStream
  • incrDatanodeNetworkErrors
  • processOp
  • readOp
  • processOp,
  • readOp,
  • releaseSocket,
  • sendShmErrorResponse,
  • sendShmSuccessResponse,
  • writeResponse,
  • writeSuccessWithChecksumInfo,
  • calcPartialBlockChecksum,
  • copyBlock

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JButton (javax.swing)
  • 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