Yikes, I had to stop when the author mentioned MapReduce for computing shortest distance. That's one of the problems for which MapReduce approach is extraordinarily bad.
Facebook has blogged about scaling Apache Giraph to insane number of Vertices/Edges.