hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14495) Add set options interface to FSDataOutputStreamBuilder
Date Fri, 16 Jun 2017 08:38:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051596#comment-16051596

Steve Loughran commented on HADOOP-14495:

I think we need to to allow apps to declare that they *must* have a feature, a key one being
that hsync really does have the expected semantics of "by the time this returns, the data
has been persisted". The {{Syncable}} interface doesn't offer this guarantee, as all implementations
of {{FSDataOutputStream}} claim to be {{Syncable}}. 

I also want the ability to set some specific options on a stream some just being a hint. That
fadvise is my example, but as that's a need on an input stream, an issue for a separate builder.
A better example is erasure-coding, maybe just something indicating expected data role, at
least that something is going to be considered  cool/cold data (though apps don't always know
that themselves)

> Add set options interface to FSDataOutputStreamBuilder 
> -------------------------------------------------------
>                 Key: HADOOP-14495
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14495
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu

This message was sent by Atlassian JIRA

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

View raw message