I want to remove nodes from my cluster gracefully. I added the following to my hadoop-site.xml:
<property> <name>dfs.hosts.exclude</name> <value>/etc/hadoop/conf.dist/dfs.hosts.exclude</value> <final>true</final> </property>
I'm adding a node to be removed to the file and executing
hadoop dfsadmin -refreshNodes
as root, but I get
refreshNodes: org.apache.hadoop.fs.permission.AccessControlException: Superuser privilege is required
The mod on the HDFS partition is 777.
Running Cloudera's hadoop-ec2 distribution, ver 0.18