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

HCatSourceITSpec.testBasic fails

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Core
    • Labels:
      None
    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: