Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3991

junit failure on Semantic Analysis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 0.9.0
    • None
    • None
    • None
    • 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

    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

      * release-0.9.0-rc2 974918c Hive 0.9.0-rc0 release.

      [junit] Tests run: 45, Failures: 6, Errors: 0, Time elapsed: 633.608 sec

          [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&gt;org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode</class&gt;
          [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&gt;org.apache.hadoop.hive.ql.plan.GroupByDesc$Mode</class&gt;
          [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&gt;org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator$Mode</class&gt;
          [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)
      

      Attachments

        1. tests.log.gz
          75 kB
          Guido Serra aka Zeph
        2. tests_jh.log.gz
          75 kB
          Guido Serra aka Zeph

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zeph Guido Serra aka Zeph
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: