Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-666

HCatSourceITSpec.testBasic fails

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • Core
    • None
    • Patch

    Description

      Building master on my workstation fails with the following message:

      ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
      Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 39.166 sec <<< FAILURE! - in org.apache.crunch.io.hcatalog.HCatTestSuiteIT
      testBasic(org.apache.crunch.io.hcatalog.HCatSourceITSpec)  Time elapsed: 0.467 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<[[17,josh], [29,indiana]]> but was:<[]>
          at org.junit.Assert.fail(Assert.java:93)
          at org.junit.Assert.failNotEquals(Assert.java:647)
          at org.junit.Assert.assertEquals(Assert.java:128)
          at org.junit.Assert.assertEquals(Assert.java:147)
          at org.apache.crunch.io.hcatalog.HCatSourceITSpec.testBasic(HCatSourceITSpec.java:108)
      

      By comparing this test to the other ones, it seems that tableRootLocation argument is missing. I will provide a patch.

      Attachments

        Activity

          People

            jwills Josh Wills
            clement@unportant.info Clément MATHIEU
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: