konstantinb commented on PR #6237:
URL: https://github.com/apache/hive/pull/6237#issuecomment-3801124953

   > @konstantinb, do we need same for `long llapMaxSize = (long) (maxSize + 
(maxSize * overSubscriptionFactor * slotsPerQuery)) `
   
   @deniskuzZ, from my analysis, all elements of this calculation are directly 
derived from Hive configuration settings. I believe that overflow could only 
occur with (currently) extremely improbable configuration settings, such as 1TB 
of RAM for the mapjoin conversion threshold, overSubscriptionFactor of 1000 and 
slotsPerQuery of 8390
   
   I realize that huge amounts of RAM could become available sooner rather than 
later. At the same time, since this functionality is not data-driven but purely 
config-driven, should it be better considered a separate fix?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to