phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-4704) Presplit index tables when building asynchronously
Date Fri, 27 Apr 2018 22:10:00 GMT


Andrew Purtell commented on PHOENIX-4704:

Even a uniform split into a few regions would be an improvement? (And subsequent organic splitting
would cause region boundaries to move toward the ideal.)

> Presplit index tables when building asynchronously
> --------------------------------------------------
>                 Key: PHOENIX-4704
>                 URL:
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Vincent Poon
>            Priority: Major
> For large data tables with many regions, if we build the index asynchronously using the
IndexTool, the index table will initial face a hotspot as all data region mappers attempt
to write to the sole new index region.  This can potentially lead to the index getting disabled
if writes to the index table timeout during this hotspotting.
> We can add an optional step (or perhaps activate it based on the count of regions in
the data table) to the IndexTool to first do a MR job to gather stats on the indexed column
values, and then attempt to presplit the index table before we do the actual index build MR

This message was sent by Atlassian JIRA

View raw message