You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2012/02/09 11:48:48 UTC
[Hadoop Wiki] Update of "topology_rack_awareness_scripts" by QwertyManiac
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "topology_rack_awareness_scripts" page has been changed by QwertyManiac:
http://wiki.apache.org/hadoop/topology_rack_awareness_scripts?action=diff&rev1=5&rev2=6
Comment:
This mixes up levels when default gets into effect. Would cause NPE, so I've changed it to /default/rack for default.
done
shift
if [ -z "$result" ] ; then
- echo -n "/default-rack "
+ echo -n "/default/rack "
else
echo -n "$result "
fi