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 8186D96CA for ; Fri, 18 Nov 2011 21:43:15 +0000 (UTC) Received: (qmail 48003 invoked by uid 500); 18 Nov 2011 21:43:15 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 47827 invoked by uid 500); 18 Nov 2011 21:43:15 -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 47818 invoked by uid 99); 18 Nov 2011 21:43:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 21:43:15 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 21:43:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E92708EB35 for ; Fri, 18 Nov 2011 21:42:51 +0000 (UTC) Date: Fri, 18 Nov 2011 21:42:51 +0000 (UTC) From: "Todd Lipcon (Updated) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1910424866.45060.1321652571956.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1517937234.42677.1321607391928.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2563) Some cleanup in BPOfferService MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-2563: ------------------------------ Attachment: hdfs-2563.txt The previous version of the patch had an issue where the block pool wasn't getting registered in blockPoolManager early enough. New rev cleans this up, and the tests that failed seem to pass now locally. Also fixed a few of the log messages which were including the nnAddr twice (once as part of toString() and once in the log message) > Some cleanup in BPOfferService > ------------------------------ > > Key: HDFS-2563 > URL: https://issues.apache.org/jira/browse/HDFS-2563 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node > Affects Versions: 0.24.0, 0.23.1 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Attachments: hdfs-2563.txt, hdfs-2563.txt > > > BPOfferService is currently rather difficult to follow and not really commented. This JIRA is to clean up the code a bit, add javadocs/comments where necessary, and improve the formatting of the log messages. -- 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