Hive
  1. Hive
  2. HIVE-3989

TestCase TestMTQueries fails with Non-Sun Java

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0, 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Query Processor
    • Labels:
      None
    • Environment:

      IBM Java 6 x86 64

      Description

      The testcase fails with IBM java 6, due to a Hashmap problem.

      Following the error:

      [junit] diff -a /home/renata/stg-hadoop/hive-0.10/release-0.10.0/build/ql/test/logs/clientpositive/join2.q.out /home/renata/stg-hadoop/hive-0.10/release-0.10.0/ql/src/test/results/clientpositive/join2.q.out
      [junit] 109c109
      [junit] < 0

      {VALUE._col0}

      [junit]
      [junit] > 0

      {VALUE._col4}

      [junit] 112c112
      [junit] < outputColumnNames: _col0, _col9
      [junit]
      [junit] > outputColumnNames: _col4, _col9
      [junit] 115c115
      [junit] < expr: _col0
      [junit]
      [junit] > expr: _col4
      [junit] Test join2.q results check failed with error code 1

      1. HIVE-3989.patch
        41 kB
        Renata Ghisloti Duarte de Souza

        Activity

        Hide
        Renata Ghisloti Duarte de Souza added a comment -

        This patch fix the TestMTQueries bug, and solves a bunch of failing queries from testcase org.apache.hadoop.hive.cli.TestCliDriver.

        It substitutes HashMap for LinkedHashMap so that all JVMs have the same output.

        The "*.q.out" files are the new expected outputs from the testcases.

        Fix is for Hive 0.10.

        Show
        Renata Ghisloti Duarte de Souza added a comment - This patch fix the TestMTQueries bug, and solves a bunch of failing queries from testcase org.apache.hadoop.hive.cli.TestCliDriver. It substitutes HashMap for LinkedHashMap so that all JVMs have the same output. The "*.q.out" files are the new expected outputs from the testcases. Fix is for Hive 0.10.

          People

          • Assignee:
            Unassigned
            Reporter:
            Renata Ghisloti Duarte de Souza
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development