Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-276 Make BSP runnable on distributed environment
  3. HAMA-284

Removing hard coded argument for heartbeat() method

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • bsp core
    • None

    Description

      The 'acceptNewTasks' argument is hard coded as a true.

          // TODO - Later, acceptNewTask is to be set by the status of groom server.
          HeartbeatResponse heartbeatResponse = jobClient.heartbeat(status,
              justStarted, justInited, true, heartbeatResponseId); // here
      

      It should be changed to acceptNewTasks. And if slaves (GroomServer) are unable to accept tasks, the acceptNewTasks should be changed to false.

      Attachments

        Activity

          People

            Unassigned Unassigned
            udanax Edward J. Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: