You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Huaxiang Sun (Jira)" <ji...@apache.org> on 2020/12/03 19:31:00 UTC

[jira] [Created] (HBASE-25356) shell command major_compact misbehave for hbase:meta

Huaxiang Sun created HBASE-25356:
------------------------------------

             Summary: shell command major_compact misbehave for hbase:meta
                 Key: HBASE-25356
                 URL: https://issues.apache.org/jira/browse/HBASE-25356
             Project: HBase
          Issue Type: Bug
          Components: shell
    Affects Versions: 1.6.0, 2.4.0
            Reporter: Huaxiang Sun
            Assignee: Huaxiang Sun


I was running shell command to major compact meta table. The implementation is wrong because it tries to search the meta table with meta table name. This also results in an unnecessary scan of meta table. 

 

majorCompactRegion() is calling getRegion() which basically scan meta table itself.

This command is being used by operator quite often, we need to correct it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)