You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/09/28 15:45:00 UTC
[jira] [Resolved] (HBASE-26293) Use reservoir sampling when
selecting bootstrap nodes
[ https://issues.apache.org/jira/browse/HBASE-26293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-26293.
-------------------------------
Fix Version/s: 3.0.0-alpha-2
2.5.0
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to master and branch-2.
Thanks [~haxiaolin] for reviewing.
> Use reservoir sampling when selecting bootstrap nodes
> -----------------------------------------------------
>
> Key: HBASE-26293
> URL: https://issues.apache.org/jira/browse/HBASE-26293
> Project: HBase
> Issue Type: Sub-task
> Components: master, regionserver
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 2.5.0, 3.0.0-alpha-2
>
>
> In the current implementation, we need to copy all the region servers out to a new array list, shuffle the list, and then get the first several elements.
> We could use reservoir sampling to reduce the overhead here.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)