-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
[expectedWorkerSet = receive_map.getOrElse(workerId, SetInt)](
| expectedWorkerSet = receive_map.getOrElse(workerId, Set[Int]()) |
log prints out the content of receive_map and workerId properly, but the look up always returns None. receive_map is an immutable map in Scala, which should also be thread safe. Tried explicit type conversions but the issue persisted. First noticed this issue when running Driver and Machine on different ports. Standalone mode seems fine.
Fix: [temporary] replace send-to and receive-from lists with expectAll branch. Workers send a message to every other worker at the end of each round.
Metadata
Metadata
Assignees
Labels
No labels