Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A41AD888 for ; Wed, 1 Aug 2012 03:38:38 +0000 (UTC) Received: (qmail 22003 invoked by uid 500); 1 Aug 2012 03:38:36 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 21780 invoked by uid 500); 1 Aug 2012 03:38:36 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 21737 invoked by uid 99); 1 Aug 2012 03:38:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 03:38:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id C117E142851 for ; Wed, 1 Aug 2012 03:38:34 +0000 (UTC) Date: Wed, 1 Aug 2012 03:38:34 +0000 (UTC) From: "meng gong (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1475735243.124882.1343792314794.JavaMail.jiratomcat@issues-vm> In-Reply-To: <36392067.124800.1343789014834.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (HDFS-3746) Invalid counter tag in HDFS balancer which lead to infinite loop 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/HDFS-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] meng gong resolved HDFS-3746. ----------------------------- Resolution: Fixed Release Note: Changed banlancer to single instance model for every namenode in the multiNameNode frame > Invalid counter tag in HDFS balancer which lead to infinite loop > ---------------------------------------------------------------- > > Key: HDFS-3746 > URL: https://issues.apache.org/jira/browse/HDFS-3746 > Project: Hadoop HDFS > Issue Type: Bug > Components: balancer > Affects Versions: 2.1.0-alpha, 3.0.0 > Reporter: meng gong > Assignee: Jing Zhao > Labels: patch > Fix For: 2.1.0-alpha, 3.0.0 > > > Everytime banlancer try to move a block cross the rack. For every NameNodeConnector it will instance a new banlancer. The tag notChangedIterations is reseted to 0. Then it won't reach 5 and exit the thread for not moved in 5 consecutive iterations. This lead to a infinite loop -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira