Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Hi,How to make hadoop to read the configuration file again,ex. hdfs-site.xml

avatar
New Member

when I study HDFS,I encounter one question,I want to make hadoop read the confighration file again,because I have changed the file, when stay hadoop open。and I don't want to reboot the hadoop service!

thank you very much!

1 ACCEPTED SOLUTION

avatar
Expert Contributor
@Xiong Duan

- fully reload configuration files like hdfs-site.xml/core-site.xml without a restart is not supported.

However, you can change certain configuration keys without a restart using

hdfs dfsadmin [-reconfig <namenode|datanode> <host:ipc_port> <start|status|properties>]

View solution in original post

4 REPLIES 4

avatar

@Xiong Duan - Looks like you accidentally posted the same question twice:

https://community.hortonworks.com/questions/106117/hihow-to-make-hadoop-to-read-the-configuration-fi...

Can you please close this one

avatar
New Member

Yeah,maybe because the network problem.so i summit the same question twice,sorry!

avatar
Expert Contributor
@Xiong Duan

- fully reload configuration files like hdfs-site.xml/core-site.xml without a restart is not supported.

However, you can change certain configuration keys without a restart using

hdfs dfsadmin [-reconfig <namenode|datanode> <host:ipc_port> <start|status|properties>]

avatar
New Member

thank you !I will try this.