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.

Hadoop : DataNode change directory not taking effect

Highlighted

Hadoop : DataNode change directory not taking effect

New Contributor

We are using hadoop 2.7.3 changed the hdfs-site.xml to point to new directory provided permissions on new directory too ...and ran start-dfs.sh and stop-dfs.sh ..on name node ...but changes are not taking effect it still points to the old directory ...

Am I missing anything while doing the configuration changes? And how can we make sure to use the new directory?

1 REPLY 1

Re: Hadoop : DataNode change directory not taking effect

Expert Contributor

Refer to following HCC Article.

https://community.hortonworks.com/articles/2308/how-to-move-or-change-the-hdfs-datanode-directorie.h...

You probably need to move the data from old dir to new.