[
https://issues.apache.org/jira/browse/HBASE-27982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tak-Lon (Stephen) Wu resolved HBASE-27982.
------------------------------------------
Release Note: https://github.com/apache/hbase/pull/5747 discussed once and
this task is no longer needed
Resolution: Won't Fix
https://github.com/apache/hbase/pull/5747 discussed once and this task is no
longer needed
> Synchronous replication should check if the file system supports truncate API
> -----------------------------------------------------------------------------
>
> Key: HBASE-27982
> URL: https://issues.apache.org/jira/browse/HBASE-27982
> Project: HBase
> Issue Type: Improvement
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Priority: Minor
> Labels: pull-request-available
>
> Ok. I missed this but I was just told that the synchronous replication
> leverages the truncate() FS API.
> https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/master/replication/SyncReplicationReplayWALManager.java#L282
> Ozone does not implement truncate so calling this method on the WAL FS will
> result in an exception. It would be a better user experience to alert user
> that this is not supported from the start.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)