HBASE-26257 Improve Performance of HBCK when specifying a subset of tables (#92)
authorz-york <zyork@amazon.com>
Thu, 9 Sep 2021 21:13:25 +0000 (14:13 -0700)
committerGitHub <noreply@github.com>
Thu, 9 Sep 2021 21:13:25 +0000 (14:13 -0700)
commit308838bae7c52031b2ed43a52b2ba535fde3a28a
treef2a45c55e0f9a0db37176f0a03b944e9016ca024
parent90e0f455ac456a0df5e9c9d59012aafe4a98e29e
HBASE-26257 Improve Performance of HBCK when specifying a subset of tables (#92)

On clusters with a large number of tables, listing all table directories
from the filesystem can take a lot of time (especially on S3).
We should avoid listing all the tables if we pass in a subset of the tables

Signed-off-by: Stephen Wu <taklonwu@gmail.com>
hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java