OK, here's some code to do this using the GraphX Pregel API:
https://gist.github.com/ankurdave/4a17596669b36be06100

Ankur <http://www.ankurdave.com/>

Reply via email to