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

unit tests fail consistently when run according to instructions on "hive how to contribute" page.

    XMLWordPrintableJSON

Details

    Description

      The unit tests fail consistently when run according to the doc on hive how to contribute page. Specifically if you:

      1) checkout the code afresh (or 'git clean -xdf' - basically be sure to start with a very clean slate)
      2) ant clean test tar -logfile ant.log

      the tests will fail (you can run just bucketmapjoin1.q instead of all the tests, it exhibits this behavior). However if you instead do the following

      2) ant clean package test tar -logfile ant.log

      the tests pass (notice the addition to package to the targets).

      I've tried this on 5 different systems (mix of linux 32/64 bit) and the result is consistent.

      Running

      ant clean test -Dtestcase=TestCliDriver -Dqfile=bucketmapjoin1.q

      I see the following reason for failure

      [junit] 743c743
      [junit] < numRows 0
      [junit]
      [junit] > numRows 464
      [junit] 773c773
      [junit] < numRows 0
      [junit]
      [junit] > numRows 464
      [junit] 793c793
      [junit] < numRows 0
      [junit]
      [junit] > numRows 464

      which leads me to believe it's a metastore issue (statistics?)

      Attachments

        Activity

          People

            Unassigned Unassigned
            phunt Patrick D. Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: