Crunch
  1. Crunch
  2. CRUNCH-234

PCollectionGetSizeIT test failure with hadoop-2 profile

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: Core
    • Labels:
      None

      Description

      Running with the "hadoop-2" profile, there is a test failure.

      Results :

      Failed tests: testGetSizeOfEmptyIntermediatePCollection_MRPipeline(org.apache.crunch.PCollectionGetSizeIT): (..)

      Tests run: 211, Failures: 1, Errors: 0, Skipped: 1

      I haven't dug into the test yet but this is the output from the test run:

      Tests run: 11, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 1.254 sec <<< FAILURE!
      testGetSizeOfEmptyIntermediatePCollection_MRPipeline(org.apache.crunch.PCollectionGetSizeIT) Time elapsed: 0.581 sec <<< FAILURE!
      java.lang.AssertionError:
      Expected: is <0L>
      got: <8L>

      at org.junit.Assert.assertThat(Assert.java:780)
      at org.junit.Assert.assertThat(Assert.java:738)
      at org.apache.crunch.PCollectionGetSizeIT.testGetSizeOfEmptyIntermediatePCollection_MRPipeline(PCollectionGetSizeIT.java:89)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
      at org.junit.rules.RunRules.evaluate(RunRules.java:18)
      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
      at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

      Note this comes after CRUNCH-233, which was done to get it to compile.

        Activity

        Micah Whitacre created issue -
        Josh Wills made changes -
        Field Original Value New Value
        Attachment CRUNCH-234.patch [ 12591226 ]
        Josh Wills made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Josh Wills made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Josh Wills
            Reporter:
            Micah Whitacre
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development