guluo created HBASE-28880:
-----------------------------
Summary: ParseException may occur when getting the fileDate of the
mob file recovered through snapshot
Key: HBASE-28880
URL: https://issues.apache.org/jira/browse/HBASE-28880
Project: HBase
Issue Type: Bug
Components: mob
Affects Versions: 2.4.13
Environment: hbase2.4.13
centos
Reporter: guluo
Assignee: guluo
The task ExpiredMobFileCleaner may occur ParseException when parsing MOB file
recovered through snapshot, causing these expired MOB file cannot be deleted.
The Reason:
The task ExpiredMobFileCleaner obtain the MOB file creation time by parsing the
MOB filename.
In regular MOB table, the 32nd to 40th characters of the MOB filename indicate
the file creation time, ExpiredMobFileCleaner can get the creation time of MOB
file by obtaining these characters.
However, in MOB tables recovered through snapshot, the format of MOB filename
is tableName-mobregionaname-hfilename,so ExpiredMobFileCleaner may not be able
to obtain the creation time of MOB file by obtaining the characters at the
above location. So, in this situation, ParseException will occur, causing these
expired MOB file cannot be deleted finally.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)