Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97907181AE for ; Tue, 23 Feb 2016 17:58:54 +0000 (UTC) Received: (qmail 10295 invoked by uid 500); 23 Feb 2016 17:58:20 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 10244 invoked by uid 500); 23 Feb 2016 17:58:20 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 10218 invoked by uid 99); 23 Feb 2016 17:58:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2016 17:58:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1DC062C1F57 for ; Tue, 23 Feb 2016 17:58:20 +0000 (UTC) Date: Tue, 23 Feb 2016 17:58:20 +0000 (UTC) From: "Jonathan Eagles (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEZ-3126) Log reason for not reducing parallelism 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/TEZ-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15159312#comment-15159312 ] Jonathan Eagles commented on TEZ-3126: -------------------------------------- [~rohini], TEZ-2962 was filed before to make the change you are suggesting and in the above comment. Let's track that work in that JIRA. Linking these two together to better track this issue. > Log reason for not reducing parallelism > --------------------------------------- > > Key: TEZ-3126 > URL: https://issues.apache.org/jira/browse/TEZ-3126 > Project: Apache Tez > Issue Type: Bug > Reporter: Jonathan Eagles > Assignee: Jonathan Eagles > Priority: Critical > Fix For: 0.7.1, 0.8.3 > > Attachments: TEZ-3126.1.patch, TEZ-3126.2.patch > > > For example, when reducing parallelism from 36 to 22. The basePartitionRange will be 1 and will not re-configure the vertex. > {code:java|title=ShuffleVertexManager#determineParallelismAndApply|borderStyle=dashed|bgColor=lightgrey} > int desiredTaskParallelism = > (int)( > (expectedTotalSourceTasksOutputSize+desiredTaskInputDataSize-1)/ > desiredTaskInputDataSize); > if(desiredTaskParallelism < minTaskParallelism) { > desiredTaskParallelism = minTaskParallelism; > } > > if(desiredTaskParallelism >= currentParallelism) { > return true; > } > > // most shufflers will be assigned this range > basePartitionRange = currentParallelism/desiredTaskParallelism; > > if (basePartitionRange <= 1) { > // nothing to do if range is equal 1 partition. shuffler does it by default > return true; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)