Hi, this is my second post after First steps with Apache-Giraph on Apache Giraph. I'll be writing a little bit about how you can use complex types in messages and in the vertex-state. To learn this I wrote a simple hop-count algorithm, you can find the full source