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 35684200BBB for ; Thu, 27 Oct 2016 07:53:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3424B160B02; Thu, 27 Oct 2016 05:53:00 +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 87FF8160AEE for ; Thu, 27 Oct 2016 07:52:59 +0200 (CEST) Received: (qmail 22322 invoked by uid 500); 27 Oct 2016 05:52:58 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 22276 invoked by uid 99); 27 Oct 2016 05:52:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2016 05:52:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 719422C2A67 for ; Thu, 27 Oct 2016 05:52:58 +0000 (UTC) Date: Thu, 27 Oct 2016 05:52:58 +0000 (UTC) From: "Rohith Sharma K S (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6793) io.sort.factor code default and mapred-default.xml values inconsistent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 27 Oct 2016 05:53:00 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-6793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15610781#comment-15610781 ] Rohith Sharma K S commented on MAPREDUCE-6793: ---------------------------------------------- I think we should retain the default value as same as current one i.e 100. Changing in code default value MRJobConfig.DEFAULT_IO_SORT_FACTOR to 10 would reflect job performance which are using default values. > io.sort.factor code default and mapred-default.xml values inconsistent > ---------------------------------------------------------------------- > > Key: MAPREDUCE-6793 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6793 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: task > Affects Versions: 2.6.5, 3.0.0-alpha1 > Reporter: Gera Shegalov > Assignee: Prabhu Joseph > Priority: Trivial > Labels: noob > Attachments: 0001-MAPREDUCE-6793.patch > > > The actual default value in mapred-default.xml: > {code} > > mapreduce.task.io.sort.factor > 10 > The number of streams to merge at once while sorting > files. This determines the number of open file handles. > > {code} > However, MapTask and MergeManagerImpl, are coded with: > {code} > int mergeFactor = job.getInt(JobContext.IO_SORT_FACTOR, 100); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org