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 08FE6200B50 for ; Sat, 30 Jul 2016 00:30:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 07A9C160AAB; Fri, 29 Jul 2016 22:30:22 +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 7E763160AA6 for ; Sat, 30 Jul 2016 00:30:21 +0200 (CEST) Received: (qmail 89302 invoked by uid 500); 29 Jul 2016 22:30:20 -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 89267 invoked by uid 500); 29 Jul 2016 22:30:20 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 89262 invoked by uid 99); 29 Jul 2016 22:30:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2016 22:30:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 903A22C029E for ; Fri, 29 Jul 2016 22:30:20 +0000 (UTC) Date: Fri, 29 Jul 2016 22:30:20 +0000 (UTC) From: "Micah Whitacre (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CRUNCH-613) Fix FileTargetImplTest.testHandleOutputsMovesFilesToDestination instability MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 29 Jul 2016 22:30:22 -0000 [ https://issues.apache.org/jira/browse/CRUNCH-613?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Micah Whitacre updated CRUNCH-613: ---------------------------------- Fix Version/s: 0.15.0 > Fix FileTargetImplTest.testHandleOutputsMovesFilesToDestination instabili= ty > -------------------------------------------------------------------------= -- > > Key: CRUNCH-613 > URL: https://issues.apache.org/jira/browse/CRUNCH-613 > Project: Crunch > Issue Type: Bug > Components: Core > Reporter: Cl=C3=A9ment MATHIEU > Assignee: Micah Whitacre > Fix For: 0.15.0 > > Attachments: CRUNCH-613.patch, CRUNCH-613b.patch > > > {{FileTargetImplTest.testHandleOutputsMovesFilesToDestination}} consisten= tly fails on my machine because it relies on the erroneous assumption that = {{handleOutputs}} will preserve part indexes in file names. > If you are lucky the {{part-m-00000}} file created by the MR job will be = copied to the destination folder with the exact same name. However it just.= .. luck. Final index only depends on iterator order which can vary from ma= chine to machine (OS, FS, JDK etc.) > This test should be rewritten to not rely on a such erroneous assumption.= =20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)