hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9263) Add initialize method to load balancer interface
Date Mon, 19 Aug 2013 20:31:51 GMT

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

Francis Liu commented on HBASE-9263:
------------------------------------

{quote}
So the idea is to call initialize on the balancer, then call the balance method for each table?
Good idea. 
{quote}
Yep, it's a one time call to initialize the balancer. Then master can start balancing. 

{quote}
The same way, should have finalize too, right?
{quote}
Yep, makes sense. Or we could have it extend Stoppable. The load balancer is essentially already
becoming a service.

                
> Add initialize method to load balancer interface
> ------------------------------------------------
>
>                 Key: HBASE-9263
>                 URL: https://issues.apache.org/jira/browse/HBASE-9263
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 0.98.0, 0.96.0
>            Reporter: Francis Liu
>             Fix For: 0.96.0
>
>
> The load balancer has two methods setMasterServices and setConf that needs to be called
prior to it being functional. Some balancers will need to go through an initialization procedure
once these methods have been called. An initialize() method would be helpful in this regard.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message