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 080D719AC6 for ; Tue, 19 Apr 2016 23:49:26 +0000 (UTC) Received: (qmail 45493 invoked by uid 500); 19 Apr 2016 23:49:25 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 45410 invoked by uid 500); 19 Apr 2016 23:49:25 -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 45383 invoked by uid 99); 19 Apr 2016 23:49:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2016 23:49:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 91A942C1F5D for ; Tue, 19 Apr 2016 23:49:25 +0000 (UTC) Date: Tue, 19 Apr 2016 23:49:25 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10225) DataNode hot swap drives should recognize storage type tags. 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-10225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248950#comment-15248950 ] Colin Patrick McCabe commented on HDFS-10225: --------------------------------------------- It seems cleaner to remove the volume and re-add it with the new storage type, rather than mutating the existing volume. Otherwise, we need to think about synchronization here around every use of storage type. There are also some changes that look unrelated, like moving the call to parseChangedVolunes up several lines. > DataNode hot swap drives should recognize storage type tags. > ------------------------------------------------------------- > > Key: HDFS-10225 > URL: https://issues.apache.org/jira/browse/HDFS-10225 > Project: Hadoop HDFS > Issue Type: Improvement > Components: datanode > Affects Versions: 2.7.2 > Reporter: Lei (Eddy) Xu > Assignee: Lei (Eddy) Xu > Attachments: HDFS-10225.000.patch, HDFS-10225.001.patch > > > The current hot swap code only differentiate data dirs by their paths. People might want to change the types of certain data dirs from the default value in an existing cluster. -- This message was sent by Atlassian JIRA (v6.3.4#6332)