[ https://issues.apache.org/jira/browse/HDFS-6808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138267#comment-14138267 ]
Colin Patrick McCabe commented on HDFS-6808: -------------------------------------------- Hi Eddy. To summarize our offline discussion, we want this to be an async API. The protobuf APIs should be something like: {code} ReloadDatanodeConfigGetStatusRequestProto { ... } ReloadDatanodeConfigGetStatusResponseProto { long startTime, string status } StartDatanodeReconfigRequestProto { ... } StartDatanodeReconfigResponseProto { ... } {code} With corresponding command line arguments {code} startReconfiguration listReconfiguration {code} This will make things a lot easier since we'll no longer have to worry about the RPC timing out during reconfiguration. Make sure that we check if there is a current reconfiguration before starting a new one (only one can be active at once). > 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 > > > 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)