You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2015/06/17 11:47:00 UTC

[jira] [Commented] (HIVE-10707) CBO: debug logging OOMs

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

Hive QA commented on HIVE-10707:
--------------------------------



{color:green}Overall{color}: +1 all checks pass

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

{color:green}SUCCESS:{color} +1 9008 tests passed

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

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

> CBO: debug logging OOMs
> -----------------------
>
>                 Key: HIVE-10707
>                 URL: https://issues.apache.org/jira/browse/HIVE-10707
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 2.0.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Trivial
>         Attachments: HIVE-10707.1.patch
>
>
> {code}
> hive> source xcross.sql;
> OK
> Time taken: 0.837 seconds
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>         at java.util.Arrays.copyOf(Arrays.java:3332)
>         at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
>         at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
>         at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421)
>         at java.lang.StringBuilder.append(StringBuilder.java:136)
>         at org.apache.hadoop.hive.ql.parse.ASTNode.dump(ASTNode.java:111)
>         at org.apache.hadoop.hive.ql.parse.ASTNode.dump(ASTNode.java:119)
>         at org.apache.hadoop.hive.ql.parse.ASTNode.dump(ASTNode.java:119)
>         at org.apache.hadoop.hive.ql.parse.ASTNode.dump(ASTNode.java:119)
>         at org.apache.hadoop.hive.ql.parse.ASTNode.dump(ASTNode.java:119)
> {code}
> The query contains 360 join clauses, wrapped in a UNION ALL.
> Looks like {{genOpTree}} does 
> {code}
>           this.ctx.setCboInfo("Plan optimized by CBO.");
>           this.ctx.setCboSucceeded(true);
>           LOG.debug(newAST.dump());
>           }
> {code}
> the debug logging OOMs.



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