Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 B8625D995 for ; Wed, 1 Aug 2012 04:06:35 +0000 (UTC) Received: (qmail 81576 invoked by uid 500); 1 Aug 2012 04:06:35 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 81537 invoked by uid 500); 1 Aug 2012 04:06:35 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 81521 invoked by uid 99); 1 Aug 2012 04:06:34 -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 04:06:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id A5782142823 for ; Wed, 1 Aug 2012 04:06:34 +0000 (UTC) Date: Wed, 1 Aug 2012 04:06:34 +0000 (UTC) From: "Junping Du (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <2087975414.124961.1343793994679.JavaMail.jiratomcat@issues-vm> In-Reply-To: <772110178.124799.1343789014791.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13426315#comment-13426315 ] Junping Du commented on HDFS-3746: ---------------------------------- Thanks! Eli. > 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: meng gong > 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