Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

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

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!

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

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

Contributor

thank you !I will try this.