Tabnine Logo
FSEditLogOp.reset
Code IndexAdd Tabnine to your IDE (free)

How to use
reset
method
in
org.apache.hadoop.hdfs.server.namenode.FSEditLogOp

Best Java code snippets using org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.reset (Showing top 6 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

/**
 * Constructor for an EditLog Op. EditLog ops cannot be constructed
 * directly, but only through Reader#readOp.
 */
@VisibleForTesting
protected FSEditLogOp(FSEditLogOpCodes opCode) {
 this.opCode = opCode;
 reset();
}
origin: org.apache.hadoop/hadoop-hdfs

synchronized boolean doEditTransaction(final FSEditLogOp op) {
 long start = beginTransaction();
 op.setTransactionId(txid);
 try {
  editLogStream.write(op);
 } catch (IOException ex) {
  // All journals failed, it is handled in logSync.
 } finally {
  op.reset();
 }
 endTransaction(start);
 return shouldForceSync();
}
origin: ch.cern.hadoop/hadoop-hdfs

/**
 * Constructor for an EditLog Op. EditLog ops cannot be constructed
 * directly, but only through Reader#readOp.
 */
@VisibleForTesting
protected FSEditLogOp(FSEditLogOpCodes opCode) {
 this.opCode = opCode;
 reset();
}
origin: io.prestosql.hadoop/hadoop-apache

/**
 * Constructor for an EditLog Op. EditLog ops cannot be constructed
 * directly, but only through Reader#readOp.
 */
@VisibleForTesting
protected FSEditLogOp(FSEditLogOpCodes opCode) {
 this.opCode = opCode;
 reset();
}
origin: ch.cern.hadoop/hadoop-hdfs

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

op.reset();
org.apache.hadoop.hdfs.server.namenodeFSEditLogOpreset

Popular methods of FSEditLogOp

  • setTransactionId
  • getTransactionId
  • readFields
  • writeFields
  • blockFromXml
  • blockToXml
  • decodeXml
  • delegationKeyToXml
  • delegationTokenToXml
  • fromXml
  • fsActionFromXml
  • fsActionToXml
  • fsActionFromXml,
  • fsActionToXml,
  • fsPermissionFromXml,
  • fsPermissionToXml,
  • hasRpcIds,
  • hasTransactionId,
  • outputToXml,
  • permissionStatusToXml,
  • resetSubFields

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Kernel (java.awt.image)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Reference (javax.naming)
  • JButton (javax.swing)
  • From CI to AI: The AI layer in your organization
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