You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/04 05:29:00 UTC

[jira] [Work logged] (HIVE-23606) LLAP: Delay In DirectByteBuffer Clean Up For EncodedReaderImpl

     [ https://issues.apache.org/jira/browse/HIVE-23606?focusedWorklogId=441105&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-441105 ]

ASF GitHub Bot logged work on HIVE-23606:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Jun/20 05:28
            Start Date: 04/Jun/20 05:28
    Worklog Time Spent: 10m 
      Work Description: shameersss1 opened a new pull request #1057:
URL: https://github.com/apache/hive/pull/1057


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 441105)
    Remaining Estimate: 0h
            Time Spent: 10m

> LLAP: Delay In DirectByteBuffer Clean Up For EncodedReaderImpl
> --------------------------------------------------------------
>
>                 Key: HIVE-23606
>                 URL: https://issues.apache.org/jira/browse/HIVE-23606
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>    Affects Versions: 3.0.0
>            Reporter: Syed Shameerur Rahman
>            Assignee: Syed Shameerur Rahman
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-23606.01.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> DirectByteBuffler are only cleaned up when there is Full GC or manually invoked cleaner method of DirectByteBuffer, Since full GC may take some time to kick in, In the meanwhile the native memory usage of LLAP daemon process might shoot up and this will force the YARN pmem monitor to kill the container running the daemon.
> HIVE-16180 tried to solve this problem, but the code structure got messed up after HIVE-15665
> The IdentityHashMap (toRelease) is initialized in https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java#L409 , but it is getting re-initialized inside the method getDataFromCacheAndDisk() https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java#L633  which makes it local to that method hence the original toRelease IdentityHashMap remains empty.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)