[
https://issues.apache.org/jira/browse/HBASE-15628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255899#comment-15255899
]
Duo Zhang commented on HBASE-15628:
-----------------------------------
The original async output can only work with DistributedFileSystem so we can
not set it as the default implementation of WAL since we have lots of UTs that
only use LocalFileSystem(see the latest two comments of HBASE-15536).
The AsyncFSOutput is an interface which makes our AsyncFSWAL do not depend on
the DFSOutput directly. And the AsyncFSOutputHelper does the following thing:
1. If the FileSystem passed in is DistributedFileSystem, then create the
original AsyncDFSOutput
2. Otherwise, create an AsyncFSOutput that wraps an FSDataOutputStream.
Thanks.
> Implement an AsyncOutputStream which can work with any FileSystem
> implementation
> --------------------------------------------------------------------------------
>
> Key: HBASE-15628
> URL: https://issues.apache.org/jira/browse/HBASE-15628
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 2.0.0
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 2.0.0
>
> Attachments: HBASE-15628-v1.patch, HBASE-15628.patch
>
>
> Used for testcase only.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)