hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10707) CBO: debug logging OOMs
Date Wed, 17 Jun 2015 22:56:00 GMT

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

Gunther Hagleitner commented on HIVE-10707:
-------------------------------------------

+1

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

Mime
View raw message