All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 560d160f authored by David Johnson's avatar David Johnson

Make sure to send an ordered list of slave IPs to Hadoop!

parent 24acc3d9
Pipeline #1393 skipped
......@@ -219,7 +219,10 @@ def main():
resourcemanager.info.ipv4,
resourcemanager.info.mac)
args += " %s" % (resourcemanager.info.ipv4,)
for slave in slaves:
# The IP addrs must be ordered. We can get away with this because of
# our naming scheme.
for i in range(0,len(slaves)):
slave = slaves[i]
print "slave = %s %s %s" % (slave.info.name,slave.info.ipv4,
slave.info.mac)
args += " %s" % (slave.info.ipv4,)
......
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