congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Finding current android device location
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now