nosetest for run pi in existing yarn cluster, master ip is taken from a file