Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 81275 invoked from network); 13 Oct 2009 21:57:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Oct 2009 21:57:54 -0000 Received: (qmail 71191 invoked by uid 500); 13 Oct 2009 21:57:54 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 71139 invoked by uid 500); 13 Oct 2009 21:57:54 -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 71129 invoked by uid 99); 13 Oct 2009 21:57:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 21:57:54 +0000 X-ASF-Spam-Status: No, hits=-10.0 required=5.0 tests=AWL,BAYES_00,FS_REPLICA,RCVD_IN_DNSWL_HI 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; Tue, 13 Oct 2009 21:57:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 27F73234C4A8 for ; Tue, 13 Oct 2009 14:57:32 -0700 (PDT) Message-ID: <1493283920.1255471052161.JavaMail.jira@brutus> Date: Tue, 13 Oct 2009 14:57:32 -0700 (PDT) From: "Konstantin Shvachko (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-680) Add new access method to a copy of a block's replica In-Reply-To: <120852940.1254874291273.JavaMail.jira@brutus> 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-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765267#action_12765267 ] Konstantin Shvachko commented on HDFS-680: ------------------------------------------ > line 83:84 has changed the formatting Yes, this fixes wrong alignment in this line. > line 92:93 seems like a white-space mod Removed spaces in an empty line, could not resist. > Add new access method to a copy of a block's replica > ---------------------------------------------------- > > Key: HDFS-680 > URL: https://issues.apache.org/jira/browse/HDFS-680 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 0.21.0 > Reporter: Konstantin Boudnik > Assignee: Konstantin Shvachko > Fix For: 0.21.0 > > Attachments: replicaClone.patch > > > Sometimes tests (and perhaps other client applications) might need an access to the state of a block's replica. > Currently it is accessible through {{FSDataset}} member of {{DataNode}} class. However, {{FSDataset}} is an internal matter of {{DataNode}} and shouldn't be available externally. > This JIRA will provide new getter method which will be returning a copy of a block's replica instead of a reference to an actual replica. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.