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-9359) Export of a large table causes OOM in Metastore and Client
Date Thu, 22 Jan 2015 15:38:35 GMT

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

Hive QA commented on HIVE-9359:
-------------------------------



{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/12693758/HIVE-9359.2.patch

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 7347 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_index_auto_mult_tables
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_histogram_numeric
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_percentile_approx_23
org.apache.hive.hcatalog.streaming.TestStreaming.testEndpointConnection
{noformat}

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

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: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12693758 - PreCommit-HIVE-TRUNK-Build

> Export of a large table causes OOM in Metastore and Client
> ----------------------------------------------------------
>
>                 Key: HIVE-9359
>                 URL: https://issues.apache.org/jira/browse/HIVE-9359
>             Project: Hive
>          Issue Type: Bug
>          Components: Import/Export, Metastore
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>         Attachments: HIVE-9359.2.patch, HIVE-9359.patch
>
>
> Running hive export on a table with a large number of partitions winds up making the
metastore and client run out of memory. The number of places we wind up having a copy of the
entire partitions object wind up being as follows:
> Metastore
>    * (temporarily) Metastore MPartition objects
>    * List<Partition> that gets persisted before sending to thrift
>    * thrift copy of all of those partitions
> Client side
>    * thrift copy of partitions
>    * deepcopy of above to create List<Partition> objects
>    * JSONObject that contains all of those above partition objects
>    * List<ReadEntity> which each encapsulates the aforesaid partition objects.
> This memory usage needs to be drastically reduced.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message