Hi,

Following this instructions at
http://wiki.apache.org/hadoop/HowManyMapsAndReduces I've read that the best
amount of reducers for one process is 0.95 or 1.75 * (nodes *
mapred.tasktracker.tasks.maximum) so I would like to call
to conf.setNumReduceTasks(int num) according to how many nodes I have
working.

So how can I get the number of live nodes from my hadoop code?

Thanks in advance,
Raimon Bosch.

Reply via email to