hive-dev 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-7144) GC pressure during ORC StringDictionary writes
Date Wed, 02 Jul 2014 22:37:24 GMT

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

Hive QA commented on HIVE-7144:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 5672 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/660/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/660/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-660/

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

This message is automatically generated.

ATTACHMENT ID: 12653660

> GC pressure during ORC StringDictionary writes 
> -----------------------------------------------
>
>                 Key: HIVE-7144
>                 URL: https://issues.apache.org/jira/browse/HIVE-7144
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 0.14.0
>         Environment: ORC Table ~ 12 string columns
>            Reporter: Gopal V
>            Assignee: Gopal V
>              Labels: ORC, Performance
>         Attachments: HIVE-7144.1.patch, HIVE-7144.2.patch, HIVE-7144.3.patch, orc-string-write.png
>
>
> When ORC string dictionary writes data out, it suffers from bad GC performance due to
a few allocations in-loop.
> !orc-string-write.png!
> The conversions are as follows
> StringTreeWriter::getStringValue() causes 2 conversions
> LazyString -> Text (LazyString::getWritableObject)
> Text -> String (LazyStringObjectInspector::getPrimitiveJavaObject)
> Then StringRedBlackTree::add() does one conversion
> String -> Text
> This causes some GC pressure with un-necessary String and byte[] array allocations.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message