Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
Contributor

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
Contributor

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
Contributor

thank you !I will try this.