Support Questions
Find answers, ask questions, and share your expertise

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

Solved Go to solution

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

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

Accepted Solutions
Highlighted

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

Rising Star
@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
Highlighted

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

@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

Highlighted

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

Contributor

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

Highlighted

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

Rising Star
@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

Highlighted

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

Contributor

thank you !I will try this.