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 24C8010DCE for ; Wed, 25 Sep 2013 23:58:03 +0000 (UTC) Received: (qmail 47540 invoked by uid 500); 25 Sep 2013 23:58:02 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 47489 invoked by uid 500); 25 Sep 2013 23:58:02 -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 47480 invoked by uid 99); 25 Sep 2013 23:58:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Sep 2013 23:58:02 +0000 Date: Wed, 25 Sep 2013 23:58:02 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5264) Consider renaming StorageID 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-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-5264: -------------------------------- Description: We should consider renaming StorageID to something else since we have changed the meaning of the field. Previously it was used to identify the single logical storage attached to a datanode and hence it was a de-facto identifier for a Datanode. Now the StorageID identifies a single storage. To avoid confusion of meaning especially when merging with other feature branches it may be best to rename it to something else. We can do so when merging phase 1 of the Heterogeneous Storage work into trunk. A partial list of places to update: # FsVolumeSpi#storageID # DatanodeStorageInfo#storageID # DatanodeStorage#storageID # StorageReceivedDeletedBlocks#storageID # StorageReport#storageID # LocatedBlock#storageIDs # processFirstBlockReport # DatanodeStorage#getStorageInfo # TestDatanodeDescriptor#testBlocksCounter # TestBlockManager.java # FsDatasetSpi#getBlockReports was: We should consider renaming StorageID to something else since we have changed the meaning of the field. Previously it was used to identify the single logical storage attached to a datanode and hence it was a de-facto identifier for a Datanode. Now the StorageID identifies a single storage. To avoid confusion of meaning especially when merging with other feature branches it may be best to rename it to something else. We can do so when merging back phase 1 of the Heterogeneous Storage work into trunk. A partial list of places to update: # FsVolumeSpi#storageID # DatanodeStorageInfo#storageID # DatanodeStorage#storageID # StorageReceivedDeletedBlocks#storageID # StorageReport#storageID # LocatedBlock#storageIDs # processFirstBlockReport # DatanodeStorage#getStorageInfo # TestDatanodeDescriptor#testBlocksCounter # TestBlockManager.java # FsDatasetSpi#getBlockReports > Consider renaming StorageID > --------------------------- > > Key: HDFS-5264 > URL: https://issues.apache.org/jira/browse/HDFS-5264 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Arpit Agarwal > > We should consider renaming StorageID to something else since we have changed the meaning of the field. Previously it was used to identify the single logical storage attached to a datanode and hence it was a de-facto identifier for a Datanode. Now the StorageID identifies a single storage. To avoid confusion of meaning especially when merging with other feature branches it may be best to rename it to something else. > We can do so when merging phase 1 of the Heterogeneous Storage work into trunk. > A partial list of places to update: > # FsVolumeSpi#storageID > # DatanodeStorageInfo#storageID > # DatanodeStorage#storageID > # StorageReceivedDeletedBlocks#storageID > # StorageReport#storageID > # LocatedBlock#storageIDs > # processFirstBlockReport > # DatanodeStorage#getStorageInfo > # TestDatanodeDescriptor#testBlocksCounter > # TestBlockManager.java > # FsDatasetSpi#getBlockReports -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira