org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Writer Java Examples
The following examples show how to use
org.apache.hadoop.hdfs.server.namenode.FSEditLogOp.Writer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BookKeeperEditLogOutputStream.java From hadoop with Apache License 2.0 | 5 votes |
/** * Construct an edit log output stream which writes to a ledger. */ protected BookKeeperEditLogOutputStream(Configuration conf, LedgerHandle lh) throws IOException { super(); bufCurrent = new DataOutputBuffer(); outstandingRequests = new AtomicInteger(0); syncLatch = null; this.lh = lh; this.writer = new Writer(bufCurrent); this.transmissionThreshold = conf.getInt(BookKeeperJournalManager.BKJM_OUTPUT_BUFFER_SIZE, BookKeeperJournalManager.BKJM_OUTPUT_BUFFER_SIZE_DEFAULT); }
Example #2
Source File: BookKeeperEditLogOutputStream.java From big-c with Apache License 2.0 | 5 votes |
/** * Construct an edit log output stream which writes to a ledger. */ protected BookKeeperEditLogOutputStream(Configuration conf, LedgerHandle lh) throws IOException { super(); bufCurrent = new DataOutputBuffer(); outstandingRequests = new AtomicInteger(0); syncLatch = null; this.lh = lh; this.writer = new Writer(bufCurrent); this.transmissionThreshold = conf.getInt(BookKeeperJournalManager.BKJM_OUTPUT_BUFFER_SIZE, BookKeeperJournalManager.BKJM_OUTPUT_BUFFER_SIZE_DEFAULT); }
Example #3
Source File: EditsDoubleBuffer.java From hadoop with Apache License 2.0 | 4 votes |
public TxnBuffer(int initBufferSize) { super(initBufferSize); writer = new FSEditLogOp.Writer(this); reset(); }
Example #4
Source File: EditsDoubleBuffer.java From big-c with Apache License 2.0 | 4 votes |
public TxnBuffer(int initBufferSize) { super(initBufferSize); writer = new FSEditLogOp.Writer(this); reset(); }
Example #5
Source File: EditsDoubleBuffer.java From RDFS with Apache License 2.0 | 4 votes |
public TxnBuffer(int initBufferSize) { super(initBufferSize); writer = new FSEditLogOp.Writer(this); reset(); }