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

Test case in Hive Query Language fails with a java.lang.AssertionError.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Test, Transactions
    • uname -a
      Linux pts00607-vm3 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:46 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux

    Description

      The test case testInsertOverwriteForPartitionedMmTable in TestTxnCommandsForMmTable.java and TestTxnCommandsForOrcMmTable.java fails with a java.lang.AssertionError on ppc arch.

      Maven command used is mvn -Dtest=TestTxnCommandsForMmTable test

      The test case fails as the listStatus function of the FileSystem does not guarantee to return the List of files/directories status in a sorted order.

      Error :

      [INFO] Running org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable
      [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 125.463 s <<< FAILURE! - in org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable
      [ERROR] testInsertOverwriteForPartitionedMmTable(org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable)  Time elapsed: 13.57 s  <<< FAILURE!
      java.lang.AssertionError
              at org.junit.Assert.fail(Assert.java:86)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at org.junit.Assert.assertTrue(Assert.java:52)
              at org.apache.hadoop.hive.ql.TestTxnCommandsForMmTable.testInsertOverwriteForPartitionedMmTable(TestTxnCommandsForMmTable.java:296)
      

      Attachments

        1. HIVE-19084.02.patch
          0.8 kB
          Steve Yeom
        2. HIVE-19084.03.patch
          0.8 kB
          Steve Yeom
        3. HIVE-19084.1.patch
          0.8 kB
          Alisha Prabhu

        Activity

          People

            alishap Alisha Prabhu
            alishap Alisha Prabhu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: