hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18765) The value of balancerRan is true even though no plans are executed
Date Fri, 08 Sep 2017 13:30:00 GMT

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

Hudson commented on HBASE-18765:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #3679 (See [https://builds.apache.org/job/HBase-Trunk_matrix/3679/])
HBASE-18765 The value of balancerRan is true even though no plans are (chia7712: rev e69b05d109d4afa4bc6201197407e3f40044c522)
* (edit) hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java


> The value of balancerRan is true even though no plans are executed
> ------------------------------------------------------------------
>
>                 Key: HBASE-18765
>                 URL: https://issues.apache.org/jira/browse/HBASE-18765
>             Project: HBase
>          Issue Type: Bug
>          Components: rsgroup
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>             Fix For: 2.0.0-alpha-3
>
>         Attachments: HBASE-18765.v0.patch
>
>
> {code}
>       //We balance per group instead of per table
>       List<RegionPlan> plans = new ArrayList<>();
>       for(Map.Entry<TableName, Map<ServerName, List<HRegionInfo>>>
tableMap:
>           getRSGroupAssignmentsByTable(groupName).entrySet()) {
>         LOG.info("Creating partial plan for table " + tableMap.getKey() + ": "
>             + tableMap.getValue());
>         List<RegionPlan> partialPlans = balancer.balanceCluster(tableMap.getValue());
>         LOG.info("Partial plan for table " + tableMap.getKey() + ": " + partialPlans);
>         if (partialPlans != null) {
>           plans.addAll(partialPlans);
>         }
>       }
>       long startTime = System.currentTimeMillis();
>       balancerRan = plans != null;
> {code}
> The *plans* is never null.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message