[ https://issues.apache.org/jira/browse/HDFS-11644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111674#comment-16111674 ]
Lei (Eddy) Xu commented on HDFS-11644: -------------------------------------- [~busbey] I filed HDFS-12251 for the filesystem docs. In the meantime, I have a question for hbase. As {{StreamCapabilities}} is bind to an {{OutputStream}}, Hbase needs to firstly open a file for write (i.e., getting the {{output stream}}, before it can query the capabilities. Would this satisfy the needs from hbase side? > Support for querying outputstream capabilities > ---------------------------------------------- > > 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 > Assignee: Manoj Govindassamy > Labels: hdfs-ec-3.0-must-do > Fix For: 2.9.0, 3.0.0-alpha4 > > Attachments: HDFS-11644.01.patch, HDFS-11644.02.patch, > HDFS-11644.03.patch, HDFS-11644-branch-2.01.patch > > > 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 (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org