You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/11/14 18:11:21 UTC

[jira] [Resolved] (HIVE-3991) junit failure on Semantic Analysis

     [ https://issues.apache.org/jira/browse/HIVE-3991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Chauhan resolved HIVE-3991.
------------------------------------

    Resolution: Cannot Reproduce

Test cases are working fine for quite some time now. If you can still repro this, feel free to reopen, providing steps to repro.

> 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: Critical
>         Attachments: tests.log.gz, tests_jh.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 was sent by Atlassian JIRA
(v6.1#6144)