Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86A9910259 for ; Wed, 3 Jul 2013 17:28:23 +0000 (UTC) Received: (qmail 50440 invoked by uid 500); 3 Jul 2013 17:28:23 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 50096 invoked by uid 500); 3 Jul 2013 17:28:22 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 49803 invoked by uid 500); 3 Jul 2013 17:28:21 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 49789 invoked by uid 99); 3 Jul 2013 17:28:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 17:28:21 +0000 Date: Wed, 3 Jul 2013 17:28:21 +0000 (UTC) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CRUNCH-234) PCollectionGetSizeIT test failure with hadoop-2 profile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CRUNCH-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699213#comment-13699213 ] Josh Wills commented on CRUNCH-234: ----------------------------------- Yeah, that's precisely the kind of hack I had in mind. I'll try a few things and see what looks least ugly. > 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 > > > 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