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 E87E89CF3 for ; Fri, 27 Jan 2012 01:07:00 +0000 (UTC) Received: (qmail 21970 invoked by uid 500); 27 Jan 2012 01:07:00 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 21858 invoked by uid 500); 27 Jan 2012 01:07:00 -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 21850 invoked by uid 99); 27 Jan 2012 01:06:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2012 01:06:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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, 27 Jan 2012 01:06:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9BE7E163534 for ; Fri, 27 Jan 2012 01:06:38 +0000 (UTC) Date: Fri, 27 Jan 2012 01:06:38 +0000 (UTC) From: "Aaron T. Myers (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <2016359004.83606.1327626398640.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <427431125.81335.1327587055395.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2843) Rename protobuf message StorageInfoProto to NodeInfoProto 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-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194335#comment-13194335 ] Aaron T. Myers commented on HDFS-2843: -------------------------------------- bq. I would argue that the information currently in StorageInfo is not storage specific at all. I think I wasn't entirely clear before. I agree that this information usually only needs to be stored once at the node level. But, it's still information that's specific to "storage" in the general sense, although it's not specific to a single storage directory. Hence, if we're going to rename it, I might suggest something like "NodeStorageInfo", which communicates both that it's at the node level, but only information about storage. That said, what about during a distributed upgrade process which will change the layoutVersion? Imagine a scenario where a DN dies during an upgrade while writing the VERSION files to its various storage directories, and hence only some subset of the directories get the updated VERSION file. Would we then need to know what layoutVersion is present in each storage directory separately? I haven't checked on how this case is handled - just thinking out loud. > Rename protobuf message StorageInfoProto to NodeInfoProto > --------------------------------------------------------- > > Key: HDFS-2843 > URL: https://issues.apache.org/jira/browse/HDFS-2843 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: data-node, name-node > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Attachments: HDFS-2843.patch > > > StorageInfoProto has cTime, layoutVersion, namespaceID and clusterID. This is really information of a node that is part of the cluster, such as Namenode, Standby/Secondary/Backup/Checkpointer and datanodes. To reflect this, I want to rename it as NodeInfoProto from StorageInfoProto. -- 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