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

Fix MinimrCliDriver test failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1, 2.2.0
    • 2.1.1, 2.2.0
    • None
    • None

    Description

      MinimrCliDriver test is failing with the following exception for bucket_num_reducers2.q test case

      junit.framework.AssertionFailedError: Number of MapReduce jobs is incorrect expected:<1> but was:<0>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.failNotEquals(Assert.java:329)
      	at junit.framework.Assert.assertEquals(Assert.java:78)
      	at junit.framework.Assert.assertEquals(Assert.java:234)
      	at org.apache.hadoop.hive.ql.hooks.VerifyNumReducersHook.run(VerifyNumReducersHook.java:46)
      	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1664)
      	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1313)
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1082)
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1070)
      	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:232)
      	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)
      	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:399)
      	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:335)
      	at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:849)
      	at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:826)
      	at org.apache.hadoop.hive.ql.QTestUtil.shutdown(QTestUtil.java:488)
      	at org.apache.hadoop.hive.cli.TestMinimrCliDriver.shutdown(TestMinimrCliDriver.java:89)
      

      Attachments

        1. HIVE-14253.1.patch
          0.5 kB
          Prasanth Jayachandran

        Activity

          People

            prasanth_j Prasanth Jayachandran
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: