The parameter mapred.hosts.exclude has existed in documentation for many versions, but I do not believe it has ever been implemented in the actual code.
If you do not want to run tasks, I'd recommend not running the tasktracker. It will take up some resources, even if it does not run any tasks. David
