hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11644) DFSStripedOutputStream should not implement Syncable
Date Tue, 11 Apr 2017 23:37:41 GMT
Andrew Wang created HDFS-11644:

             Summary: DFSStripedOutputStream should not implement Syncable
                 Key: HDFS-11644
                 URL: https://issues.apache.org/jira/browse/HDFS-11644
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: erasure-coding
    Affects Versions: 3.0.0-alpha1
            Reporter: Andrew Wang

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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message