I am trying to set a multiple-nodes cluster which run hadoop and want to
just permit some nodes to be taskTracker to JobTracker, so I modified
mapred-site.xml and add below lines:
<property>
<name>mapred.hosts</name>
<value>/hadoop/mapred/hostallowed</value>
</property>
And add below value in hostallowed file(they can be pinged successfully on
JobTracker):
hc003
hc004
hc004
hc043
hc044
hc045
But after I run the job, it will reported that:
2010-03-30 04:38:55,192 INFO org.apache.hadoop.mapred.TaskTracker:
Tasktracker disallowed by JobTracker.
So who have met such problem and tell me the reason? An example would be
more appreciated. Thanks!
StarLee