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

Test failure : org.apache.hadoop.hive.ql.TestTxnNoBuckets fails with java.lang.AssertionError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • uname -a
      Linux pts00607-vm1 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:05:18 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

    Description

      Maven command used is mvn -Dtest=TestTxnNoBuckets#testCTAS test

      Error:

      [INFO] Running org.apache.hadoop.hive.ql.TestTxnNoBuckets
      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 34.582 s <<< FAILURE! - in org.apache.hadoop.hive.ql.TestTxnNoBuckets
      [ERROR] testCTAS(org.apache.hadoop.hive.ql.TestTxnNoBuckets)  Time elapsed: 31.64 s  <<< FAILURE!
      java.lang.AssertionError: Actual line (data) 0 data: {"writeid":1,"bucketid":536870912,"rowid":0}       3       4       file:/var/lib/jenkins/hive/ql/target/tmp/org.apache.hadoop.hive.ql.TestTxnNoBuckets-1528085280454/warehouse/myctas2/delta_0000001_0000001_0000/bucket_00000
              at org.junit.Assert.fail(Assert.java:88)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at org.apache.hadoop.hive.ql.TxnCommandsBaseForTests.checkExpected(TxnCommandsBaseForTests.java:228)
      

      org.apache.hadoop.hive.ql.TestTxnNoBucketsVectorized.testCTAS refers to the same test case.

      Attachments

        1. HIVE-19780.1.patch
          1 kB
          Alisha Prabhu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: