major_compact '.META.' has no effect
------------------------------------

                 Key: HBASE-4543
                 URL: https://issues.apache.org/jira/browse/HBASE-4543
             Project: HBase
          Issue Type: Bug
            Reporter: Amitanand Aiyer
            Priority: Minor


major_compact '.META.' has no effect, although major_compact 'any_other_table' 
works fine from the shell.

The issue is that getTableRegions() in HMaster.java only works if the tableName 
given is a "normal" table.
The methodology (using a MetaScanner to look through the .META. table for the 
tableName) does not work if
the tableName is .META.

The fix modifies getTableRegions() to check if the tableName is .META.; and if 
so, handle it accordingly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to