Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 12242 invoked from network); 15 Dec 2008 19:48:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 19:48:08 -0000 Received: (qmail 75101 invoked by uid 500); 15 Dec 2008 19:48:17 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 75073 invoked by uid 500); 15 Dec 2008 19:48:17 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 75053 invoked by uid 99); 15 Dec 2008 19:48:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 11:48:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 19:48:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 63012234C3DA for ; Mon, 15 Dec 2008 11:47:44 -0800 (PST) Message-ID: <269817820.1229370464404.JavaMail.jira@brutus> Date: Mon, 15 Dec 2008 11:47:44 -0800 (PST) From: "Raghu Angadi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4865) Trigger block scans for datanode In-Reply-To: <613388103.1229283824233.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656723#action_12656723 ] Raghu Angadi commented on HADOOP-4865: -------------------------------------- Mostly looks good. A few comments : DNA_SCAN meant for NameNode to inform datanode is not used here, thus better to be removed in this patch. Even if we want such a functionality, it might be add such a method to 'DataNode Client protocol'. I think we should remove synchronized just around manualScanList. it does not improve anything and usually synchronizing around each member separately only leads to confusion. In general it is better to keep synchronization consistent with the code around while adding a patch. Also, I would just make 'verifyFirstBlock()' to look at the manual list first. > Trigger block scans for datanode > -------------------------------- > > Key: HADOOP-4865 > URL: https://issues.apache.org/jira/browse/HADOOP-4865 > Project: Hadoop Core > Issue Type: New Feature > Components: dfs > Reporter: Brian Bockelman > Attachments: manual_block_scan.patch > > > Provide a mechanism to trigger block scans in a datanode upon request. Support interfaces for commands sent by the namenode and through the HTTP interface. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.