[
https://issues.apache.org/jira/browse/HBASE-26881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil updated HBASE-26881:
-----------------------------------------
Description:
HBASE-26640 introduced two extra paths under master:store table:
".initializing" and ".initialized", in order to control when such store has
been completed started for SFT.
Problem is that TestHFileProcedurePrettyPrinter uses
RegionInfo.isEncodedRegionName to determine if a given child path in the table
dir is a valid region dir. Current implementation for
RegionInfo.isEncodedRegionName considers ".initializing" and ".initialized" as
valid region encoded names, thus the test ends up picking one of the flag dirs
to list hfiles that should had been modified when validating the test outcome.
Further improvements have been made to RegionInfo.isEncodedRegionName in
was:
HBASE-26640 introduced two extra paths under master:store table:
".initializing" and ".initialized", in order to control when such store has
been completed started for SFT.
Problem is that TestHFileProcedurePrettyPrinter assumes all child dirs from
master:store would be region dirs, so it ends up picking up one of the flag
dirs to list hfiles that should had been modified when validating the test
outcome.
> Backport HBASE-25368 to branch-2
> ---------------------------------
>
> Key: HBASE-26881
> URL: https://issues.apache.org/jira/browse/HBASE-26881
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 2.5.0, 2.6.0
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Major
>
> HBASE-26640 introduced two extra paths under master:store table:
> ".initializing" and ".initialized", in order to control when such store has
> been completed started for SFT.
> Problem is that TestHFileProcedurePrettyPrinter uses
> RegionInfo.isEncodedRegionName to determine if a given child path in the
> table dir is a valid region dir. Current implementation for
> RegionInfo.isEncodedRegionName considers ".initializing" and ".initialized"
> as valid region encoded names, thus the test ends up picking one of the flag
> dirs to list hfiles that should had been modified when validating the test
> outcome.
> Further improvements have been made to RegionInfo.isEncodedRegionName in
--
This message was sent by Atlassian Jira
(v8.20.1#820001)