If you want to decommission a datanode, http://hadoop.apache.org/common/docs/r0.20.0/hdfs_user_guide.html#DFSAdmin+Command -refreshNodes briefly explains how it works.
Koji On 1/31/11 4:35 AM, "Segel, Mike" <mse...@navteq.com> wrote: James, Remove the node without stopping what? If you mean you want to remove the data node without stopping the master, you have a couple of ways... First, if you're running Cloudera's CDH3b3 release you have /etc/init.d scripts where you can issue a stop command. (Stopping the datanode and the task tracker job.) Or you could use a kill -9 , or a killall -9 java to stop the processes. After 10 minutes the name node sees the data node as non-responsive and marks it as down. If you want to remove the data node permanently, there are other steps.... HTH -Mike ________________________________________ From: James Ram [hadoo...@gmail.com] Sent: Monday, January 31, 2011 3:02 AM To: common-dev@hadoop.apache.org Subject: Stopping datanodes dynamically. Hi, Can anyone please answer the question. How to remove the datanodes dynamically from the masternode without stopping it? The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please notify the sender and delete/destroy the original message and any copy of it from your computer or paper files.