hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toshihiro Suzuki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-20293) get_splits returns duplicate split points when region replication is on
Date Tue, 27 Mar 2018 08:12:00 GMT

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

Toshihiro Suzuki commented on HBASE-20293:
------------------------------------------

I just attached a patch for this issue. I made _get_splits_internal() return splits only for
default replica.


> get_splits returns duplicate split points when region replication is on
> -----------------------------------------------------------------------
>
>                 Key: HBASE-20293
>                 URL: https://issues.apache.org/jira/browse/HBASE-20293
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Toshihiro Suzuki
>            Assignee: Toshihiro Suzuki
>            Priority: Minor
>         Attachments: HBASE-20293.master.001.patch
>
>
> When region replication is on, get_splits returns duplicate split points like the following:
> {code}
> hbase(main):001:0> create "test", "cf", {REGION_REPLICATION => 3}, SPLITS =>
["10"]
> Created table test
> Took 1.0975 seconds
> hbase(main):002:0> get_splits "test"
> Total number of splits = 4
> 10
> 10
> 10
> Took 0.0941 seconds
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message