[ https://issues.apache.org/jira/browse/HDFS-6808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120558#comment-14120558 ]
Colin Patrick McCabe commented on HDFS-6808: -------------------------------------------- Oh, also, a unit test would be nice here. We could have a bogus configuration key just used in the test or something. We should test the error-reporting functionality of the RPC as well. I don't think we need to do an end-to-end test of the command, just call the RPC maybe. > 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 > > > 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)