[
https://issues.apache.org/jira/browse/HADOOP-12910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321113#comment-15321113
]
Andrew Purtell commented on HADOOP-12910:
-----------------------------------------
For what it's worth, from someone on several PMCs of downstream projects, what
you have is substantive technical feedback on the proposal from the downstream
community most likely to try and adopt the feature as soon as there is a
plausible user facing API. In fact that community has already supplied you, if
you like, with a working proof of concept DFS client. In open source, that is
riches, freely offered effort to a problem you now don't need to solve all on
your own. Of course there could be technical reasons not to consider it
further, but I don't see it given any consideration at all. Is that correct? In
any case, I believe the feedback on API design in this issue is all offered in
good faith hoping to achieve a user facing API that is consumable for high
performance async applications as they are actually commonly written in the
industry today. In the interest of all potential downstream users please
consider accepting the feedback in that spirit. API design done in a manner
ignoring or antagonistic to likely users can't produce a more usable outcome
than a humble and collaborative approach. This has the potential to be a big
deal for the whole ecosystem. By working with your downstreams you will be more
likely to lift all boats, including your own.
> Add new FileSystem API to support asynchronous method calls
> -----------------------------------------------------------
>
> Key: HADOOP-12910
> URL: https://issues.apache.org/jira/browse/HADOOP-12910
> Project: Hadoop Common
> Issue Type: New Feature
> Components: fs
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Xiaobing Zhou
> Attachments: HADOOP-12910-HDFS-9924.000.patch,
> HADOOP-12910-HDFS-9924.001.patch, HADOOP-12910-HDFS-9924.002.patch
>
>
> Add a new API, namely FutureFileSystem (or AsynchronousFileSystem, if it is a
> better name). All the APIs in FutureFileSystem are the same as FileSystem
> except that the return type is wrapped by Future, e.g.
> {code}
> //FileSystem
> public boolean rename(Path src, Path dst) throws IOException;
> //FutureFileSystem
> public Future<Boolean> rename(Path src, Path dst) throws IOException;
> {code}
> Note that FutureFileSystem does not extend FileSystem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]