hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-6808) Add command line option to ask DataNode reload configuration.
Date Fri, 19 Sep 2014 02:06:34 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139871#comment-14139871
] 

Colin Patrick McCabe edited comment on HDFS-6808 at 9/19/14 2:05 AM:
---------------------------------------------------------------------

bq. I'd argue that from the user-perspective, this isn't true. If I change the dfs.data.dir
layout, won't -reconfig drop previous data directories and load the new ones? How is this
different than what happens with -refreshNodes, other than being a different type of object?

{{refreshNodes}} applies to the NameNode, and this patch doesn't alter the NameNode.  Let's
re-evaluation this when we add reconfiguration support to the NameNode.


was (Author: cmccabe):
bq. I'd argue that from the user-perspective, this isn't true. If I change the dfs.data.dir
layout, won't -reconfig drop previous data directories and load the new ones? How is this
different than what happens with -refreshNodes, other than being a different type of object?

Well, for one thing, {{refreshNodes}} applies to the NameNode, and this patch doesn't alter
the NameNode.  When we add reconfiguration support to the NameNode, then we can talk about
how this interacts with {{refreshNodes}} (if at all).  Until then, it just seems like a distraction.

> Add command line option to ask DataNode reload configuration.
> -------------------------------------------------------------
>
>                 Key: HDFS-6808
>                 URL: https://issues.apache.org/jira/browse/HDFS-6808
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: 2.5.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-6808.000.combo.patch, HDFS-6808.000.patch, HDFS-6808.001.combo.patch,
HDFS-6808.001.patch, HDFS-6808.002.combo.patch, HDFS-6808.002.patch, HDFS-6808.003.combo.txt,
HDFS-6808.003.patch, HDFS-6808.004.combo.patch, HDFS-6808.004.patch, HDFS-6808.005.combo.patch,
HDFS-6808.005.patch, HDFS-6808.006.combo.patch, HDFS-6808.006.patch, HDFS-6808.007.combo.patch,
HDFS-6808.007.patch, HDFS-6808.008.combo.patch, HDFS-6808.008.patch, HDFS-6808.009.combo.patch,
HDFS-6808.009.patch
>
>
> The workflow of dynamically changing data volumes on DataNode is
> # Users manually changed {{dfs.datanode.data.dir}} in the configuration file
> # User use command line to notify DN to reload configuration and updates its volumes.

> This work adds command line support to notify DN to reload configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message