hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-22414) Make LLAP CacheTags more memory efficient
Date Thu, 07 Nov 2019 20:10:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-22414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969534#comment-16969534
] 

Hive QA commented on HIVE-22414:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12985184/HIVE-22414.7.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 17661 tests executed
*Failed tests:*
{noformat}
TestStatsReplicationScenariosACIDNoAutogather - did not produce a TEST-*.xml file (likely
timed out) (batchId=255)
org.apache.hive.jdbc.TestJdbcGenericUDTFGetSplits2.testGenericUDTFOrderBySplitCount1 (batchId=282)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/19335/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19335/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19335/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12985184 - PreCommit-HIVE-Build

> Make LLAP CacheTags more memory efficient
> -----------------------------------------
>
>                 Key: HIVE-22414
>                 URL: https://issues.apache.org/jira/browse/HIVE-22414
>             Project: Hive
>          Issue Type: Improvement
>          Components: llap
>            Reporter: Ádám Szita
>            Assignee: Ádám Szita
>            Priority: Major
>         Attachments: HIVE-22414.0.patch, HIVE-22414.1.patch, HIVE-22414.2.patch, HIVE-22414.3.patch,
HIVE-22414.4.patch, HIVE-22414.5.patch, HIVE-22414.6.patch, HIVE-22414.7.patch
>
>
> MultiPartitionCacheTag relies on LinkedLists.
> A LinkedList object that holds e.g. 2 nodes consumes 112 bytes roughly in this composition:
>  * 16 bytes for LinkedList object header
>  * 8 bytes for referring head
>  * 8 bytes for referring tail
>  * 80 = 2 x (16 bytes for LinkedList$Node header, 3 x 8 bytes for referring prev, next,
item)
> This is a lot, so I propose to replace LinkedList in MultiPartitionCacheTag with a simple
String array. (For a similar scenario an array would take 16 + 8 + 2 x 8 = 40 bytes, as per
header, count, and 2 references for our actual objects).



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

Mime
View raw message