Commit 7d3d2500 authored by David Johnson's avatar David Johnson

Fix hadoop wfa naming nit due to e649bd3a .

(Basically, the hadoop setup scripts rely on specific slave node names;
e649bd3a changed that naming; this fixes the WFAs.  Yes, this is all bad.)
parent 8a20ab47
Pipeline #1869 passed with stage
in 2 seconds
......@@ -116,8 +116,8 @@ def main():
args += " %s" % (resourcemanager.info.ipv4,)
# The IP addrs must be ordered. We can get away with this because of
# our naming scheme.
for i in range(0,len(slaves)):
slavename = "slave%d" % (i,)
for i in range(1,len(slaves)+1):
slavename = "slave-%d" % (i,)
slave = slaves[slavename]
log("slave = %s %s %s" % (slave.info.name, slave.info.ipv4,
slave.info.mac))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment