if node is the master, set master_address to "localhost"