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

Determining the count of active vertices.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.6.2
    • Fix Version/s: 0.6.3
    • Component/s: None
    • Labels:
      None

      Description

              // check for halt again after computation
              if (!vertex.isHalted()) {
                activeVertices++;
              }
              ....
      
              aggregationRunner.sendAggregatorValues(peer, activeVertices);  
      

      To actually determine the count of active vertices of each superstep, it's necessary to count the number of activated vertices. So, it should not check isHalted() twice.

        Attachments

        1. HAMA-771.patch
          2 kB
          Edward J. Yoon

          Activity

            People

            • Assignee:
              udanax Edward J. Yoon
              Reporter:
              udanax Edward J. Yoon
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: