Skip to content

issues with "expect-from" list #29

@ZiluTian

Description

@ZiluTian

[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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions