[
https://issues.apache.org/jira/browse/HBASE-27017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541017#comment-17541017
]
Duo Zhang commented on HBASE-27017:
-----------------------------------
This is not related to the problem here? First, we should make MOB work when
SFT is enabled, since MOB regions are not compatible with file based SFT
implementations for now, we should always set the SFT implementation to default
in this case. In this case, we still need to write the files to a tmp directory
first and then rename it to the final directory. This will impact performance,
but anyway, do things correctly first, then try to increase the performance :)
And how to eliminate the renames for MOB regions is another topic, which we
will discuss it in HBASE-26969.
> MOB snapshot is broken when FileBased SFT is used
> -------------------------------------------------
>
> Key: HBASE-27017
> URL: https://issues.apache.org/jira/browse/HBASE-27017
> Project: HBase
> Issue Type: Bug
> Components: mob
> Affects Versions: 2.5.0, 3.0.0-alpha-2
> Reporter: Szabolcs Bukros
> Priority: Major
>
> During snapshot MOB regions are treated like any other region. When a
> snapshot is taken and hfile references are collected a StoreFileTracker is
> created to get the current active hfile list. But the MOB region stores are
> not tracked so an empty list is returned, resulting in a broken snapshot.
> When this snapshot is cloned the resulting table will have no MOB files or
> references.
> The problematic code can be found here:
> [https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotManifest.java#L313]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)