[
https://issues.apache.org/jira/browse/HIVE-3991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guido Serra aka Zeph updated HIVE-3991:
---------------------------------------
Description:
hi, can't apply patches neither change the code cause there are failures
in junits from code that is supposed to be stable and release
bq. * release-0.9.0-rc2 974918c Hive 0.9.0-rc0 release.
bq. [junit] Tests run: 45, Failures: 6, Errors: 0, Time elapsed: 633.608 sec
{code}
[junit] diff /home/zeph/hive/build/ql/test/logs/positive/groupby1.q.out
/home/zeph/hive/ql/src/test/results/compiler/parse/groupby1.q.out
[junit] diff -b /home/zeph/hive/build/ql/test/logs/positive/groupby1.q.xml
/home/zeph/hive/ql/src/test/results/compiler/plan/groupby1.q.xml
[junit] 524,525c524
[junit] < <object class="java.lang.Enum"
method="valueOf">
[junit] <
<class>org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode</class>
[junit] ---
[junit] > <object
class="org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode"
method="valueOf">
[junit] 602,603c601
[junit] < <object class="java.lang.Enum"
method="valueOf">
[junit] <
<class>org.apache.hadoop.hive.ql.plan.GroupByDesc$Mode</class>
[junit] ---
[junit] > <object
class="org.apache.hadoop.hive.ql.plan.GroupByDesc$Mode" method="valueOf">
[junit] 1357,1358c1355
[junit] < <object class="java.lang.Enum" method="valueOf">
[junit] <
<class>org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode</class>
[junit] ---
[junit] junit.framework.AssertionFailedError: Semantic Analysis has
unexpected output with error code = 1
[junit] See build/ql/tmp/hive.log, or try "ant test ...
-Dtest.silent=false" to get more logs.
[junit] at junit.framework.Assert.fail(Assert.java:47)
[junit] at
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1(TestParse.java:214)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:616)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
{code}
was:
hi, can't apply patches neither change the code cause there are failures in the
junit from code that is supposed to be stable and release
bq. [junit] Tests run: 45, Failures: 6, Errors: 0, Time elapsed: 633.608 sec
{code}
[junit] diff /home/zeph/hive/build/ql/test/logs/positive/groupby1.q.out
/home/zeph/hive/ql/src/test/results/compiler/parse/groupby1.q.out
[junit] diff -b /home/zeph/hive/build/ql/test/logs/positive/groupby1.q.xml
/home/zeph/hive/ql/src/test/results/compiler/plan/groupby1.q.xml
[junit] 524,525c524
[junit] < <object class="java.lang.Enum"
method="valueOf">
[junit] <
<class>org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode</class>
[junit] ---
[junit] > <object
class="org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode"
method="valueOf">
[junit] 602,603c601
[junit] < <object class="java.lang.Enum"
method="valueOf">
[junit] <
<class>org.apache.hadoop.hive.ql.plan.GroupByDesc$Mode</class>
[junit] ---
[junit] > <object
class="org.apache.hadoop.hive.ql.plan.GroupByDesc$Mode" method="valueOf">
[junit] 1357,1358c1355
[junit] < <object class="java.lang.Enum" method="valueOf">
[junit] <
<class>org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode</class>
[junit] ---
[junit] junit.framework.AssertionFailedError: Semantic Analysis has
unexpected output with error code = 1
[junit] See build/ql/tmp/hive.log, or try "ant test ...
-Dtest.silent=false" to get more logs.
[junit] at junit.framework.Assert.fail(Assert.java:47)
[junit] at
org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1(TestParse.java:214)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:616)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
{code}
> junit failure on Semantic Analysis
> ----------------------------------
>
> Key: HIVE-3991
> URL: https://issues.apache.org/jira/browse/HIVE-3991
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.9.0
> Environment: run multiple times, with different OSes/AntLibs
> - (OsX) Apache Ant(TM) version 1.8.2 compiled on March 26 2012
> - (Linux) Apache Ant version 1.7.1 compiled on July 2 2010
> Reporter: Guido Serra aka Zeph
> Priority: Blocker
> Attachments: tests_jh.log.gz, tests.log.gz
>
>
> hi, can't apply patches neither change the code cause there are failures
> in junits from code that is supposed to be stable and release
> bq. * release-0.9.0-rc2 974918c Hive 0.9.0-rc0 release.
> bq. [junit] Tests run: 45, Failures: 6, Errors: 0, Time elapsed: 633.608
> sec
> {code}
> [junit] diff /home/zeph/hive/build/ql/test/logs/positive/groupby1.q.out
> /home/zeph/hive/ql/src/test/results/compiler/parse/groupby1.q.out
> [junit] diff -b
> /home/zeph/hive/build/ql/test/logs/positive/groupby1.q.xml
> /home/zeph/hive/ql/src/test/results/compiler/plan/groupby1.q.xml
> [junit] 524,525c524
> [junit] < <object class="java.lang.Enum"
> method="valueOf">
> [junit] <
> <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode</class>
> [junit] ---
> [junit] > <object
> class="org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode"
> method="valueOf">
> [junit] 602,603c601
> [junit] < <object class="java.lang.Enum"
> method="valueOf">
> [junit] <
> <class>org.apache.hadoop.hive.ql.plan.GroupByDesc$Mode</class>
> [junit] ---
> [junit] > <object
> class="org.apache.hadoop.hive.ql.plan.GroupByDesc$Mode" method="valueOf">
> [junit] 1357,1358c1355
> [junit] < <object class="java.lang.Enum" method="valueOf">
> [junit] <
> <class>org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode</class>
> [junit] ---
> [junit] junit.framework.AssertionFailedError: Semantic Analysis has
> unexpected output with error code = 1
> [junit] See build/ql/tmp/hive.log, or try "ant test ...
> -Dtest.silent=false" to get more logs.
> [junit] at junit.framework.Assert.fail(Assert.java:47)
> [junit] at
> org.apache.hadoop.hive.ql.parse.TestParse.testParse_groupby1(TestParse.java:214)
> [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [junit] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> [junit] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [junit] at java.lang.reflect.Method.invoke(Method.java:616)
> [junit] at junit.framework.TestCase.runTest(TestCase.java:154)
> [junit] at junit.framework.TestCase.runBare(TestCase.java:127)
> [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
> [junit] at
> junit.framework.TestResult.runProtected(TestResult.java:124)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira