Replace deprecated Hadoop command.
Solve warning-critical bug; params refer to available nodes.