[
https://issues.apache.org/jira/browse/HBASE-24127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17076812#comment-17076812
]
Duo Zhang commented on HBASE-24127:
-----------------------------------
It seems to be a bug of LocalFileSystem? LocalFileSystem is just a wrapper on
the RawLocalFileSystem, so it does not make sense that RawLocalFileSystem
support hflush/hsync while LocalFileSystem does not...
> Switch to `RawLocalFileSystem` as default FS for tests
> ------------------------------------------------------
>
> Key: HBASE-24127
> URL: https://issues.apache.org/jira/browse/HBASE-24127
> Project: HBase
> Issue Type: Test
> Components: test
> Reporter: Nick Dimiduk
> Priority: Major
>
> In the PR discussion on HBASE-24106, [~elserj]
> [mentioned|https://github.com/apache/hbase/pull/1422#discussion_r403789851]
> that another project has had success with switching its unit test suite to
> use {{RawLocalFileSystem}} from {{LocalFileSystem}}. This is discussed in the
> context of the availability of the {{hsync}} and {{hflush}} stream
> capabilities, which are not available on {{LocalFileSystem}}.
> Perhaps we should also consider doing the same for our default {{standalone}}
> user experience. I don't know if doing so should be a separate task from this
> one, or if completing one is effectively performing the implementation for
> the other.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)