incubator-giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avery Ching (Commented) (JIRA)" <>
Subject [jira] [Commented] (GIRAPH-47) Export Worker's Context/State to vertices through pre/post/Application/Superstep
Date Mon, 07 Nov 2011 22:08:53 GMT


Avery Ching commented on GIRAPH-47:

Thanks Claudio. I'm going to commit on your behalf.  I made a few small changes to fix the
code conventions.  I also fixed a bug in the distributed unittests (WorkerContext not set
for TestAutoCheckpoint).  The local unittests can't catch that one.  Next time, you'll want
to run against a real Hadoop instance to catch problems (i.e.  mvn test -Dprop.mapred.job.tracker=localhost:50300).
 You'll want to replace 'localhost:50300' with your actual Hadoop jobtracker and port settings.

> Export Worker's Context/State to vertices through pre/post/Application/Superstep
> --------------------------------------------------------------------------------
>                 Key: GIRAPH-47
>                 URL:
>             Project: Giraph
>          Issue Type: Improvement
>          Components: graph
>    Affects Versions: 0.70.0
>            Reporter: Claudio Martella
>            Assignee: Claudio Martella
>         Attachments: GIRAPH-47.diff, GIRAPH-47.diff, GIRAPH-47.diff
> 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
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message