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 95E3B10AD9 for ; Sat, 22 Feb 2014 17:42:20 +0000 (UTC) Received: (qmail 79733 invoked by uid 500); 22 Feb 2014 17:42:20 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 79700 invoked by uid 500); 22 Feb 2014 17:42:19 -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 79691 invoked by uid 500); 22 Feb 2014 17:42:19 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 79683 invoked by uid 99); 22 Feb 2014 17:42:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Feb 2014 17:42:19 +0000 Date: Sat, 22 Feb 2014 17:42:19 +0000 (UTC) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CRUNCH-351) Improve performance of Shard#shard on large records 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-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13909451#comment-13909451 ] Josh Wills commented on CRUNCH-351: ----------------------------------- Yeah, that's a vastly better idea. Obviously, we would no longer have identical values from the same PCollection on the same shard, but there isn't anything in Shard's contract that guarantees that. [~gabriel.reid], what do you think? > Improve performance of Shard#shard on large records > --------------------------------------------------- > > Key: CRUNCH-351 > URL: https://issues.apache.org/jira/browse/CRUNCH-351 > Project: Crunch > Issue Type: Improvement > Reporter: Chao Shi > Assignee: Chao Shi > Attachments: crunch-351.patch > > > This avoids sorting on the input data, which may be long and make > shuffle phase slow. The improvement is to sort on pseudo-random numbers. -- This message was sent by Atlassian JIRA (v6.1.5#6160)