hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-10707) CBO: debug logging OOMs
Date Thu, 14 May 2015 06:18:59 GMT
Gopal V created HIVE-10707:
------------------------------

             Summary: CBO: debug logging OOMs
                 Key: HIVE-10707
                 URL: https://issues.apache.org/jira/browse/HIVE-10707
             Project: Hive
          Issue Type: Bug
          Components: CBO
            Reporter: Gopal V
            Priority: Trivial


{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