hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-4543) major_compact '.META.' has no effect
Date Sat, 11 Apr 2015 00:55:13 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell resolved HBASE-4543.
-----------------------------------
    Resolution: Cannot Reproduce
      Assignee:     (was: Amitanand Aiyer)

> major_compact '.META.' has no effect
> ------------------------------------
>
>                 Key: HBASE-4543
>                 URL: https://issues.apache.org/jira/browse/HBASE-4543
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.89.20100621, 0.89.20100924
>            Reporter: Amitanand Aiyer
>            Priority: Minor
>         Attachments: 0001-fix-the-issue-of-.META.-getting-ignored.patch
>
>
> major_compact '.META.' has no effect, although major_compact 'any_other_table' works
fine from the shell.
> This issue seems to only affect 0.89. The apache-trunk seems to handle this case properly.
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message