Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DB37F200AE4 for ; Fri, 24 Jun 2016 22:51:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D9DB9160A62; Fri, 24 Jun 2016 20:51:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 364EB160A2E for ; Fri, 24 Jun 2016 22:51:17 +0200 (CEST) Received: (qmail 47897 invoked by uid 500); 24 Jun 2016 20:51:16 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 47883 invoked by uid 99); 24 Jun 2016 20:51:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2016 20:51:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 416222C0451 for ; Fri, 24 Jun 2016 20:51:16 +0000 (UTC) Date: Fri, 24 Jun 2016 20:51:16 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-16193) Address flaky ExternalAppendOnlyMapSuite spilling tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 24 Jun 2016 20:51:18 -0000 [ https://issues.apache.org/jira/browse/SPARK-16193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348598#comment-15348598 ] Apache Spark commented on SPARK-16193: -------------------------------------- User 'srowen' has created a pull request for this issue: https://github.com/apache/spark/pull/13896 > Address flaky ExternalAppendOnlyMapSuite spilling tests > ------------------------------------------------------- > > Key: SPARK-16193 > URL: https://issues.apache.org/jira/browse/SPARK-16193 > Project: Spark > Issue Type: Bug > Components: Spark Core, Tests > Affects Versions: 2.0.0 > Reporter: Sean Owen > Assignee: Sean Owen > Priority: Minor > > We've seen tests fail, for different codecs and operations, like so, most recently from 2.0.0 RC1: > {code} > - spilling with compression *** FAILED *** > java.lang.Exception: Test failed with compression using codec org.apache.spark.io.LZ4CompressionCodec: > assertion failed: expected groupByKey to spill, but did not > at scala.Predef$.assert(Predef.scala:170) > at org.apache.spark.TestUtils$.assertSpilled(TestUtils.scala:170) > at org.apache.spark.util.collection.ExternalAppendOnlyMapSuite.org$apache$spark$util$collection$ExternalAppendOnlyMapSuite$$testSimpleSpilling(ExternalAppendOnlyMapSuite.scala:253) > at org.apache.spark.util.collection.ExternalAppendOnlyMapSuite$$anonfun$10$$anonfun$apply$mcV$sp$8.apply(ExternalAppendOnlyMapSuite.scala:218) > at org.apache.spark.util.collection.ExternalAppendOnlyMapSuite$$anonfun$10$$anonfun$apply$mcV$sp$8.apply(ExternalAppendOnlyMapSuite.scala:216) > at scala.collection.immutable.Stream.foreach(Stream.scala:594) > ... > {code} > My theory is that the listener doesn't receive notification of the spilled stages early enough to show up in the test. It should wait until the job is done before letting the test proceed to query the number of spilled stages. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org