accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-4173) Balance table within a set of hosts
Date Tue, 12 Apr 2016 14:06:25 GMT


ASF GitHub Bot commented on ACCUMULO-4173:

Github user joshelser commented on a diff in the pull request:
    --- Diff: server/base/src/main/java/org/apache/accumulo/server/master/balancer/
    @@ -0,0 +1,334 @@
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.accumulo.server.master.balancer;
    +import java.util.ArrayList;
    +import java.util.Collections;
    +import java.util.HashMap;
    +import java.util.List;
    +import java.util.Map;
    +import java.util.Map.Entry;
    +import java.util.Set;
    +import java.util.SortedMap;
    +import java.util.TreeMap;
    +import java.util.regex.Pattern;
    +import org.apache.accumulo.core.client.admin.TableOperations;
    +import org.apache.accumulo.core.conf.AccumuloConfiguration;
    +import org.apache.accumulo.core.conf.Property;
    +import org.apache.accumulo.core.master.thrift.TabletServerStatus;
    +import org.apache.accumulo.core.tabletserver.thrift.TabletStats;
    +import org.apache.accumulo.server.conf.ServerConfiguration;
    +import org.apache.accumulo.server.master.state.TServerInstance;
    +import org.apache.accumulo.server.master.state.TabletMigration;
    +import org.apache.thrift.TException;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    + * This balancer will create pools of tablet servers by grouping tablet servers that
match a regex into the same pool and calling the balancer set on the table
    --- End diff --
    Nit: this is more about how it is implemented than what it does. "This balancer creates
groups of tabletservers, using user-provided regular expressions over the tabletservers' hostnames,
and then delegates to another TableBalancer for each group of tabletserver" (or something).

> Balance table within a set of hosts
> -----------------------------------
>                 Key: ACCUMULO-4173
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: master
>            Reporter: Dave Marion
>            Assignee: Dave Marion
>              Labels: balancer
>             Fix For: 1.8.0
>         Attachments: ACCUMULO-4173-1.patch, ACCUMULO-4173-2.patch
>          Time Spent: 20m
>  Remaining Estimate: 0h
> Create a table balancer that will provide a set of hosts for the table tablet balancer
to use.

This message was sent by Atlassian JIRA

View raw message