Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-304

Allow BSP peers to get a list of all other peers executing tasks of the same job

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      Hi,

      Currently (as in the PiEstimator example), when a peer wants to send a message to other peer, it has to know in advance its hostname and port. This is likely fine for very small clusters, but not convenient for reasonably sized clusters.

      The following patch allows a peer to get a list of all other peers (collection of InetSocketAddress) so that it doesn't force a BSP job to know in advance the hostname and ports of the peers.

      The implementation might not be very efficient for very large clusters, as a list of groom server addresses is sent in each HeartBeat response. This is something I think it should be improved sometime later.

      Feedback welcome.
      cheers

      Attachments

        1. hama-304.patch
          11 kB
          Filipe David Borba Manana
        2. HAMA-304_v02.patch
          11 kB
          Edward J. Yoon

        Activity

          People

            fdmanana Filipe David Borba Manana
            fdmanana Filipe David Borba Manana
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: