[
https://issues.apache.org/jira/browse/HADOOP-12910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301546#comment-15301546
]
Chris Nauroth commented on HADOOP-12910:
----------------------------------------
Hello [~stack].
I'm very curious to learn more about the work happening in HBase. If I
understand correctly from a brief read of HBASE-14790, you're looking more at
asynchrony at the data transfer protocol layer ("...implement our own
{{DFSOutputStream}}..."), whereas the scope of this issue has focused on
asynchronous NameNode metadata operations. If my understanding is correct,
then I'd suggest a separate HDFS JIRA for tracking separate scope.
Either way, it sounds like the HBase community has done some work that would
ideally be provided directly within HDFS to benefit all users. Would you or
someone else from the HBase community mind sharing a high-level write-up of
current state and some links to relevant portions of the HBase code, for the
benefit of those of us who don't often read the HBase code? I tried to piece
it together by reading HBASE-14790 and its sub-tasks, but I think I'd benefit
from hearing summarized information straight from the HBase experts. Maybe
that new HDFS JIRA is the right place to do this.
Thank you.
> 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]