You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2014/08/15 16:30:18 UTC
[jira] [Commented] (HBASE-11755) VisibilityController returns the
wrong value for preBalanceSwitch()
[ 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)