Tabnine Logo
FSEditLogOp$DeleteOp.readRpcIds
Code IndexAdd Tabnine to your IDE (free)

How to use
readRpcIds
method
in
org.apache.hadoop.hdfs.server.namenode.FSEditLogOp$DeleteOp

Best Java code snippets using org.apache.hadoop.hdfs.server.namenode.FSEditLogOp$DeleteOp.readRpcIds (Showing top 3 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

@Override
void readFields(DataInputStream in, int logVersion)
  throws IOException {
 if (!NameNodeLayoutVersion.supports(
   LayoutVersion.Feature.EDITLOG_OP_OPTIMIZATION, logVersion)) {
  this.length = in.readInt();
  if (this.length != 2) {
   throw new IOException("Incorrect data format. " + "delete operation.");
  }
 }
 this.path = FSImageSerialization.readString(in);
 if (NameNodeLayoutVersion.supports(
   LayoutVersion.Feature.EDITLOG_OP_OPTIMIZATION, logVersion)) {
  this.timestamp = FSImageSerialization.readLong(in);
 } else {
  this.timestamp = readLong(in);
 }
 // read RPC ids if necessary
 readRpcIds(in, logVersion);
}
origin: io.prestosql.hadoop/hadoop-apache

@Override
void readFields(DataInputStream in, int logVersion)
  throws IOException {
 if (!NameNodeLayoutVersion.supports(
   LayoutVersion.Feature.EDITLOG_OP_OPTIMIZATION, logVersion)) {
  this.length = in.readInt();
  if (this.length != 2) {
   throw new IOException("Incorrect data format. " + "delete operation.");
  }
 }
 this.path = FSImageSerialization.readString(in);
 if (NameNodeLayoutVersion.supports(
   LayoutVersion.Feature.EDITLOG_OP_OPTIMIZATION, logVersion)) {
  this.timestamp = FSImageSerialization.readLong(in);
 } else {
  this.timestamp = readLong(in);
 }
 // read RPC ids if necessary
 readRpcIds(in, logVersion);
}
origin: ch.cern.hadoop/hadoop-hdfs

@Override
void readFields(DataInputStream in, int logVersion)
  throws IOException {
 if (!NameNodeLayoutVersion.supports(
   LayoutVersion.Feature.EDITLOG_OP_OPTIMIZATION, logVersion)) {
  this.length = in.readInt();
  if (this.length != 2) {
   throw new IOException("Incorrect data format. " + "delete operation.");
  }
 }
 this.path = FSImageSerialization.readString(in);
 if (NameNodeLayoutVersion.supports(
   LayoutVersion.Feature.EDITLOG_OP_OPTIMIZATION, logVersion)) {
  this.timestamp = FSImageSerialization.readLong(in);
 } else {
  this.timestamp = readLong(in);
 }
 // read RPC ids if necessary
 readRpcIds(in, logVersion);
}
org.apache.hadoop.hdfs.server.namenodeFSEditLogOp$DeleteOpreadRpcIds

Popular methods of FSEditLogOp$DeleteOp

  • getInstance
  • setPath
  • setTimestamp
  • <init>
  • readRpcIdsFromXml
  • set
  • setTransactionId

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Reference (javax.naming)
  • JComboBox (javax.swing)
  • 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