hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaobing Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9094) Add command line option to ask NameNode reload configuration.
Date Tue, 10 Nov 2015 18:55:11 GMT

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

Xiaobing Zhou commented on HDFS-9094:

Thanks [~arpitagarwal] for review!

The high level change is to augment ClientNamenodeProtocol with three RPC functions, startReconfiguration,
getReconfigurationStatus and listReconfigurableProperties. NameNodeRpcServer implements server
side parts and forwards RPC calls to NameNode that extends ReconfigurableBase to do concrete
reconfiguration work.

The dfsadmin commands look like:
hdfs dfsadmin -reconfig namenode <nn_addr>:<ipc_port> start
hdfs dfsadmin -reconfig namenode <nn_addr>:<ipc_port> status
hdfs dfsadmin -reconfig namenode <nn_addr>:<ipc_port> properties 

In order to keep patch succinct, this work only implemented the skeleton that leaves three
functions in NameNodeRpcServer as "Not Implemented" by throwing IOException.

The follow up work HDFS-1477 and HDFS-9349 will be based on this work.

> Add command line option to ask NameNode reload configuration.
> -------------------------------------------------------------
>                 Key: HDFS-9094
>                 URL: https://issues.apache.org/jira/browse/HDFS-9094
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 2.7.0
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-9094.001.patch
> This work is going to add DFS admin command that allows reloading NameNode configuration.
This is sibling work related to HDFS-6808.

This message was sent by Atlassian JIRA

View raw message