Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
Description
FSDataOutputStream#hsync checks if a stream implements Syncable, and if so, calls hsync. Otherwise, it just calls flush. This is used, for instance, by YARN's FileSystemTimelineWriter.
DFSStripedOutputStream extends DFSOutputStream, which implements Syncable. However, DFSStripedOS throws a runtime exception when the Syncable methods are called.
We should refactor the inheritance structure so DFSStripedOS does not implement Syncable.
Attachments
Attachments
Issue Links
- is cloned by
-
HDFS-11718 DFSStripedOutputStream hsync/hflush should not throw UnsupportedOperationException
- Resolved
- is depended upon by
-
HADOOP-14402 roll out StreamCapabilities across output streams of all filesystems
- Resolved
- is related to
-
HDFS-12251 Add document for StreamCapabilities
- Resolved
-
HDFS-12260 StreamCapabilities.StreamCapability should be public.
- Resolved
-
HADOOP-9565 Add a Blobstore interface to add to blobstore FileSystems
- Patch Available
-
HADOOP-15149 CryptoOutputStream should implement StreamCapabilities
- Resolved
- relates to
-
HADOOP-13327 Add OutputStream + Syncable to the Filesystem Specification
- Resolved
-
HADOOP-14365 Stabilise FileSystem builder-based create API
- Resolved
-
HDFS-11170 Add builder-based create API to FileSystem
- Resolved