Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.0.0-beta-1
-
None
-
None
-
Reviewed
Description
// If any of the HFiles for the column families has reached // maxsize, we need to roll all the writers if (wl != null && wl.written + length >= maxsize) { this.rollRequested = true; }
If we always roll all the writers, a large number of small files will be generated in the multi family or multi table scene.
So we should only roll the specified writer which HFile has reached maxsize.