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

Colin Patrick McCabe commented on HDFS-6808:
--------------------------------------------

[~aw]: Let's file a follow-on JIRA to discuss adding a new command-line 
operation to reload the configuration of multiple datanodes at once.  This is 
something we can easily do later if it makes sense.

bq. Just the opposite, actually. There is more than enough evidence for me to 
know that you rarely read what I write seriously, so I'm hoping they can 
convince you that in operations refresh/reload/reconfig are all synonyms of 
each other. It just depends upon which group built what software. Users who 
aren't neck deep into the code day-in, day-out will confuse these verbs.

Allen, refresh and reconfig are different operations.  Reconfig changes the 
configuration.  The various different kinds of refresh flush various caches in 
the system.  There is a difference between flushing a cache and changing a 
configuration.  Probably refresh should have been called "flushCache" or 
something to be clearer, but that can't be changed at this point.

> 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, 
> HDFS-6808.010.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)

Reply via email to