@InterfaceAudience.Private
public final class DummyDFSOutputStream
extends org.apache.hadoop.hdfs.DFSOutputStream
We have to put it under this package as we want to override a package private method.
| Constructor and Description |
|---|
DummyDFSOutputStream(AsyncFSOutput output,
org.apache.hadoop.hdfs.DFSClient dfsClient,
String src,
org.apache.hadoop.hdfs.protocol.HdfsFileStatus stat,
EnumSet<org.apache.hadoop.fs.CreateFlag> flag,
org.apache.hadoop.util.DataChecksum checksum) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
close() |
adjustChunkBoundary, checkClosed, closeImpl, closeThreads, completeFile, computePacketChunkSize, createPacket, createWriteTraceScope, flushInternal, flushInternalWithoutWaitingAck, getAddBlockFlags, getCurrentBlockReplication, getFileEncryptionInfo, getFileId, getInitialLen, getNamespace, getNumCurrentReplicas, getPipeline, getStreamer, getUniqKey, hasCapability, hflush, hsync, hsync, recoverLease, setArtificialSlowdown, setChunksPerPacket, setDropBehind, start, toString, writeChunk, writeChunkconvertToByteStream, flush, flushBuffer, flushBuffer, getBufferedDataSize, getChecksumSize, getDataChecksum, resetChecksumBufSize, setChecksumBufSize, write, writewritepublic DummyDFSOutputStream(AsyncFSOutput output, org.apache.hadoop.hdfs.DFSClient dfsClient, String src, org.apache.hadoop.hdfs.protocol.HdfsFileStatus stat, EnumSet<org.apache.hadoop.fs.CreateFlag> flag, org.apache.hadoop.util.DataChecksum checksum)
public void abort()
throws IOException
abort in class org.apache.hadoop.hdfs.DFSOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.hadoop.hdfs.DFSOutputStreamIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.