hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11755) VisibilityController returns the wrong value for preBalanceSwitch()
Date Fri, 15 Aug 2014 14:30:18 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098572#comment-14098572
] 

Anoop Sam John commented on HBASE-11755:
----------------------------------------

+1

We can have a Base impl, with noop, which implements both RegionObserver and MasterObserver?
 So VC and AC can extend that. (?)


> VisibilityController returns the wrong value for preBalanceSwitch()
> -------------------------------------------------------------------
>
>                 Key: HBASE-11755
>                 URL: https://issues.apache.org/jira/browse/HBASE-11755
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors
>    Affects Versions: 1.0.0, 0.98.5, 2.0.0
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 1.0.0, 2.0.0, 0.98.6
>
>         Attachments: HBASE-11755-v0.patch
>
>
> VisibilityController returns false instead of the newValue for the preBalanceSwitch()
call.
> VisibilityController extends both RegionObserver and MasterObserver, unfortunately only
1 of the two can use the Base implementation. in this case the BaseRegionObserver is used
and all most of the MasterObserver methods are a noop. Any idea on how to avoid reimplementing
all the  interface methods as noop, and avoid problems like the preBalanceSwitch()?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message