[ https://issues.apache.org/jira/browse/HIVE-21689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
slim bouguerra reassigned HIVE-21689: ------------------------------------- > Buddy Allocator memory accounting does not account for failed allocation > attempts > --------------------------------------------------------------------------------- > > Key: HIVE-21689 > URL: https://issues.apache.org/jira/browse/HIVE-21689 > Project: Hive > Issue Type: Bug > Components: llap > Reporter: slim bouguerra > Assignee: slim bouguerra > Priority: Major > > Allocation method on Buddy Allocator, does not release the reserved memory in > case we failed to allocate the full sequence. > Simple example: > Assume We have an allocation request of 1kb. > Will call reserver and reserve 1KB. > Try to allocate will fail due to race condition. > Try to discard will fail due to no space. > At this point will exit without releasing the reserved memory. -- This message was sent by Atlassian JIRA (v7.6.3#76005)