[ https://issues.apache.org/jira/browse/CRUNCH-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702252#comment-13702252 ]
Micah Whitacre commented on CRUNCH-234: --------------------------------------- +1. Change fixed the build for me locally as well. > PCollectionGetSizeIT test failure with hadoop-2 profile > ------------------------------------------------------- > > Key: CRUNCH-234 > URL: https://issues.apache.org/jira/browse/CRUNCH-234 > Project: Crunch > Issue Type: Bug > Components: Core > Reporter: Micah Whitacre > Assignee: Josh Wills > Fix For: 0.7.0 > > Attachments: CRUNCH-234.patch > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira