...
- your names are unique! Otherwise it will result in strange output.
- it is only ONE file!
- Key and Value are Text.class fields!
- Value always contains only ONE vertex
- Value is separated by ":" to split the name and the weight
Sample adjacency list SequenceFile
You can download a adjacencylist SequenceFile containing 2,031,215 vertices and 24,793,713 edges, named with cities in the world and random weights. It is arround 1.14GB large and can be downloaded here:
You can run it with
No Format |
---|
hama/bin/hama jar ../hama-0.x.0-examples.jar sssp Klewno sample/output PATH_TO_THE_SEQUENCEFILE
|
Obviously you have to replace "PATH_TO_THE_SEQUENCEFILE" with the path where the sample file is stored.
You can adjust the starting vertex city (here: "Klewno") to the city you want, I'm pretty sure the graph contains it.
Have fun! If you are facing problems, feel free to ask questions on the official mailing list.