hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15549) Undo HMaster carrying regions in master branch as default
Date Thu, 31 Mar 2016 00:09:25 GMT

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

stack commented on HBASE-15549:

Balancer gets messed up if master is not carrying regions:

hbase(main):008:0* balancer force
NameError: undefined local variable or method `force' for #<Object:0x3d620a1>

hbase(main):009:0> balancer 'force'

ERROR: java.io.IOException: 6
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2285)
        at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:109)
        at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:137)
        at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:112)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
        at org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer$Cluster.getLocalityOfRegion(BaseLoadBalancer.java:869)
        at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer$LocalityCostFunction.cost(StochasticLoadBalancer.java:1186)
        at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.computeCost(StochasticLoadBalancer.java:521)
        at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.balanceCluster(StochasticLoadBalancer.java:335)
        at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.balanceCluster(StochasticLoadBalancer.java:264)
        at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1276)
        at org.apache.hadoop.hbase.master.MasterRpcServices.balance(MasterRpcServices.java:352)
        at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:60465)
        at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2240)
        ... 4 more

This is w/ my setting tables for master to 'none' (which makes for some nice stack traces
in logs complaining about no such table 'none')

> Undo HMaster carrying regions in master branch as default
> ---------------------------------------------------------
>                 Key: HBASE-15549
>                 URL: https://issues.apache.org/jira/browse/HBASE-15549
>             Project: HBase
>          Issue Type: Bug
>          Components: Balancer, master
>            Reporter: stack
>         Attachments: 15549.patch
> I thought we had an issue to do this but I can't find it so here is a new one.
> Currently, in master branch, HMaster is a RegionServer and carries meta regions such
as hbase:meta. Disable this facility by default until better thought through (I think we should
undo master ever carrying regions; FBers are thinking we should go forward with notion that
master carries meta/system regions. TODO). I want to disable it because this facility is not
finished and meantime I want to test new stuff coming in on master branch w/o this new feature
getting in the way.
> Parking here a patch that has how to disable master carrying regions and a probably redundant
test that ensures all works when master is not carrying meta regions (added because it WASN'T
working for me -- but was pilot error).

This message was sent by Atlassian JIRA

View raw message