You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2010/03/05 00:01:28 UTC

[jira] Created: (HIVE-1215) bogus assertion in GroupByOperator.initializeOp

bogus assertion in GroupByOperator.initializeOp
-----------------------------------------------

                 Key: HIVE-1215
                 URL: https://issues.apache.org/jira/browse/HIVE-1215
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.5.0
            Reporter: John Sichi
             Fix For: 0.6.0


export HADOOP_OPTS="-ea"

and then run the following query in Hive:

select count(1) from pokes;

This causes an assertion failure:

Caused by: java.lang.AssertionError
	at org.apache.hadoop.hive.ql.exec.GroupByOperator.initializeOp(GroupByOperator.java:161)
	at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:344)
	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:143)
	... 10 more


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HIVE-1215) bogus assertion in GroupByOperator.initializeOp

Posted by "Edward Capriolo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Capriolo reassigned HIVE-1215:
-------------------------------------

    Assignee: Edward Capriolo

> bogus assertion in GroupByOperator.initializeOp
> -----------------------------------------------
>
>                 Key: HIVE-1215
>                 URL: https://issues.apache.org/jira/browse/HIVE-1215
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: John Sichi
>            Assignee: Edward Capriolo
>             Fix For: 0.6.0
>
>
> export HADOOP_OPTS="-ea"
> and then run the following query in Hive:
> select count(1) from pokes;
> This causes an assertion failure:
> Caused by: java.lang.AssertionError
> 	at org.apache.hadoop.hive.ql.exec.GroupByOperator.initializeOp(GroupByOperator.java:161)
> 	at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:344)
> 	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:143)
> 	... 10 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1215) bogus assertion in GroupByOperator.initializeOp

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841591#action_12841591 ] 

John Sichi commented on HIVE-1215:
----------------------------------

We have tests for such queries, and we enable assertions in the junit ant task, but we do not seem to be enabling assertions for the forked JVM's which execute the plan.  We should find a way to address this in order to get more coverage for assertions (and also to expose any more bogus ones).


> bogus assertion in GroupByOperator.initializeOp
> -----------------------------------------------
>
>                 Key: HIVE-1215
>                 URL: https://issues.apache.org/jira/browse/HIVE-1215
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: John Sichi
>             Fix For: 0.6.0
>
>
> export HADOOP_OPTS="-ea"
> and then run the following query in Hive:
> select count(1) from pokes;
> This causes an assertion failure:
> Caused by: java.lang.AssertionError
> 	at org.apache.hadoop.hive.ql.exec.GroupByOperator.initializeOp(GroupByOperator.java:161)
> 	at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:344)
> 	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:143)
> 	... 10 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1215) bogus assertion in GroupByOperator.initializeOp

Posted by "Edward Capriolo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841607#action_12841607 ] 

Edward Capriolo commented on HIVE-1215:
---------------------------------------

Yes you can reproduce this by a simple edit in build common and a q file that 
does select count(1) from src;

{noformat}
 <target name="test"
        depends="test-conditions,gen-test,compile-test,test-jar,test-init">
    <!--<property name="testcp" refid="test.classpath"/>-->
    <!--<echo message="test.classpath: ${testcp}"/>-->
    <junit showoutput="${test.output}" printsummary="yes" haltonfailure="no"
           fork="yes" maxmemory="512m" dir="${basedir}" timeout="${test.timeout}"
           errorProperty="tests.failed" failureProperty="tests.failed" filtertrace="off">
      <!--
      <jvmarg value="-Xdebug"/>
      <jvmarg value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"/> -->
      <env key="HADOOP_OPTS" value="-ea" />
      <env key="HADOOP_HOME" value="${hadoop.root}"/>
      <env key="TZ" value="US/Pacific"/>
{noformat}

This be easy to add.
<env key="HADOOP_OPTS" value="-ea" />
or 
<env key="HADOOP_OPTS" value="${HADOOP_OPTS} -ea" />

> bogus assertion in GroupByOperator.initializeOp
> -----------------------------------------------
>
>                 Key: HIVE-1215
>                 URL: https://issues.apache.org/jira/browse/HIVE-1215
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: John Sichi
>            Assignee: Edward Capriolo
>             Fix For: 0.6.0
>
>
> export HADOOP_OPTS="-ea"
> and then run the following query in Hive:
> select count(1) from pokes;
> This causes an assertion failure:
> Caused by: java.lang.AssertionError
> 	at org.apache.hadoop.hive.ql.exec.GroupByOperator.initializeOp(GroupByOperator.java:161)
> 	at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:344)
> 	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:143)
> 	... 10 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.