@InterfaceAudience.Private @InterfaceStability.Unstable public static class TezMerger.DiskSegment extends TezMerger.Segment
| Constructor and Description |
|---|
DiskSegment(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean ifileReadAhead,
int ifileReadAheadLength,
int bufferSize,
boolean preserve) |
DiskSegment(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean ifileReadAhead,
int ifileReadAheadLenth,
int bufferSize,
boolean preserve,
org.apache.tez.common.counters.TezCounter mergedMapOutputsCounter) |
DiskSegment(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
long segmentOffset,
long segmentLength,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean ifileReadAhead,
int ifileReadAheadLength,
int bufferSize,
boolean preserve) |
DiskSegment(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
long segmentOffset,
long segmentLength,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean ifileReadAhead,
int ifileReadAheadLength,
int bufferSize,
boolean preserve,
org.apache.tez.common.counters.TezCounter mergedMapOutputsCounter) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
getPositionpublic DiskSegment(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean ifileReadAhead,
int ifileReadAheadLength,
int bufferSize,
boolean preserve)
throws IOException
IOExceptionpublic DiskSegment(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean ifileReadAhead,
int ifileReadAheadLenth,
int bufferSize,
boolean preserve,
org.apache.tez.common.counters.TezCounter mergedMapOutputsCounter)
throws IOException
IOExceptionpublic DiskSegment(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
long segmentOffset,
long segmentLength,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean ifileReadAhead,
int ifileReadAheadLength,
int bufferSize,
boolean preserve)
throws IOException
IOExceptionpublic DiskSegment(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
long segmentOffset,
long segmentLength,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean ifileReadAhead,
int ifileReadAheadLength,
int bufferSize,
boolean preserve,
org.apache.tez.common.counters.TezCounter mergedMapOutputsCounter)
throws IOException
IOExceptionpublic long getLength()
getLength in class TezMerger.SegmentCopyright © 2019 Apache Software Foundation. All rights reserved.