Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

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

@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

Contributor

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

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>]

Contributor

thank you !I will try this.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.