> OK. Are there actions on the charms to kick these off?
>

The smoke-test in the charm executes PageRank on a very small graph:
https://github.com/panagiotisl/bigtop/blob/master/bigtop-packages/src/charm/giraph/layer-giraph/actions/smoke-test#L54

For some reason the giraph-examples.jar (with PageRank) that is
present in the giraph distribution is not present in the bigtop
distribution, so the charm uses it as a resource:
https://github.com/panagiotisl/bigtop/tree/master/bigtop-packages/src/charm/giraph/layer-giraph/resources

So for an example with a large graph you will need to upload the graph
to hdfs and you will be ready to execute PageRank.

> Also, is the I/O all text based or is there a Giraf GUI? I won't have a
> lot of time, and the audience will not be Hadoop centric. It's a
> large-scale public cloud audience, and the point of the demo is just to
> show how Juju makes it really easy to spin up something complex and get
> going. MOST of the audience will be more interested in things like
> relations and scaling, the underlying app (Giraf or something else) just
> needs to be topical and preferably pretty to look at :)
>

Through hadoop's web interface you can show some info regarding the
execution. For instance you could show something like this (this
example uses hadoop 1.0.2):
http://jupiter.di.uoa.gr/temp/uk-2005-5-ba-10g_1.pdf

You can see that there are special Giraph Timers regarding supersteps
of execution. And these are updated as the algorithm is executed.
PageRank stops after the 30th superstep. With the more recent version
of hadoop that the charm uses, the interface is slightly different I
believe, but you get the picture...
For the result of PageRank what you have is an hdfs file (split across
many files actually) with {node, PageRank value} pairs.

Other than the above, I don't think that there is something else you
could use for "illustrative" purposes with giraph.

--Panagiotis

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to