[ 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.