You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/11/30 13:12:51 UTC

[GitHub] egor-ryashin commented on issue #5577: historical miscalculating remaining disk capacity - segment too large exception causing segments to not load

egor-ryashin commented on issue #5577: historical miscalculating remaining disk capacity - segment too large exception causing segments to not load
URL: https://github.com/apache/incubator-druid/issues/5577#issuecomment-443199515
 
 
   I found multiple entries in Historical logs:
   >i.d.s.l.SegmentLoaderLocalCacheManager - Segment [*] is different than expected size. Expected [*] found [*]
   
   I summed the difference for one hour it showed that segments occupied ~50MB more than expected which can effectively confuse Coordinator working with sizes from the segment metadata.
   
   I propose to add a dynamic configuration parameter to Coordinator named `segmentCacheReserve` (ie `segmentCacheReserve=50` means 50mb of extra space) which tells Coordinator how much space should be left available at any time on a Historical node.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org