From hdfs-issues-return-214738-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Wed Mar 28 00:30:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7261718064E for ; Wed, 28 Mar 2018 00:30:04 +0200 (CEST) Received: (qmail 16680 invoked by uid 500); 27 Mar 2018 22:30:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 16668 invoked by uid 99); 27 Mar 2018 22:30:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2018 22:30:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E4D81C0C37 for ; Tue, 27 Mar 2018 22:30:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id nEeuwTOIHUSC for ; Tue, 27 Mar 2018 22:30:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id AEFBE5F4EB for ; Tue, 27 Mar 2018 22:30:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CE786E0E08 for ; Tue, 27 Mar 2018 22:30:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3FD6221513 for ; Tue, 27 Mar 2018 22:30:00 +0000 (UTC) Date: Tue, 27 Mar 2018 22:30:00 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-13356) Balancer:Set default value of minBlockSize to 10mb MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-13356?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-13356: --------------------------------- Labels: upgrades (was: ) > Balancer:Set default value of minBlockSize to 10mb=20 > --------------------------------------------------- > > Key: HDFS-13356 > URL: https://issues.apache.org/jira/browse/HDFS-13356 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.7.5 > Reporter: Bharat Viswanadham > Assignee: Bharat Viswanadham > Priority: Major > Labels: upgrades > > =C2=A0It seems we can run into a problem while a rolling upgrade with thi= s. > The Balancer is upgraded after NameNodes, so once NN is upgraded it will = expect=C2=A0{{minBlockSize}}parameter in=C2=A0{{getBlocks()}}. The Balancer= cannot send it yet, so NN will use the default, which you set to 0. So NN = will start unexpectedly sending small blocks to the Balancer. So we should > # either change the default in protobuf to 10 MB > # or treat=C2=A0{{minBlockSize =3D=3D 0}}=C2=A0in=C2=A0{{NameNodeRpcServ= er}}=C2=A0as a signal to use the configuration variable=C2=A0{{DFSConfigKey= s.DFS_BALANCER_GETBLOCKS_MIN_BLOCK_SIZE_KEY}}. > If you agree, we should create a follow up jira. I wanted to backport thi= s down the chain of branches, but this upgrade scenario is stopping me. > [~barnaul] commented this in=C2=A0 HDFS-13222 jira. > https://issues.apache.org/jira/browse/HDFS-13222?focusedCommentId=3D16414= 855&page=3Dcom.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpan= el#comment-16414855 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org