Uploaded image for project: 'Giraph (Retired)'
  1. Giraph (Retired)
  2. GIRAPH-47

Export Worker's Context/State to vertices through pre/post/Application/Superstep

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0
    • 0.1.0
    • graph
    • None

    Description

      It would be quite useful for vertices to reach some worker-related information stored i.e. in the GraphState class.

      This information could be exported as a parameter to pre/post/Application/Superstep like this:

      public void preApplication(Configurable workerObject);
      public void postApplication(Configurable workerObject);
      public void preSuperstep(Configurable workerObject);
      public void postSuperstep(Configurable workerObject);
      public Configurable getWorkerObject();

      Another possibility is to add a Context inner class to BasicVertex to store this information.

      Attachments

        1. GIRAPH-47.diff
          54 kB
          Claudio Martella
        2. GIRAPH-47.diff
          51 kB
          Claudio Martella
        3. GIRAPH-47.diff
          17 kB
          Claudio Martella
        4. GIRAPH-47.final
          59 kB
          Avery Ching

        Activity

          People

            cmartella Claudio Martella
            cmartella Claudio Martella
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: