Skip to content

elasticjava/graphchi-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation


GraphChi-java
Version 0.0.1  (Very Early Version)

BUILDING 

You can build GraphChi with any IDE, or using Ant. Just
write on the command-line:
    ant


RUNNING GRAPHCHI & PREPARING SHARDS

To run the pagerank example:
   java -Xmx4096m -cp build  edu.cmu.graphchi.apps.Pagerank [GRAPH-FILENAME] [NUM-OF-SHARDS]

or Connected Components:
   java -Xmx4096m -cp build  edu.cmu.graphchi.apps.ConnectedComponents [GRAPH-FILENAME] [NUM-OF-SHARDS]

Unfortunately, at this stage you need to use the C++ version to prepare shards. 
It is easy though:

1.  Get the C++ GraphChi from http://code.google.com/p/graphchi/

2.  Build the "sharder_basic" program:
    	  make sharder_basic

3.  Run the sharder:
    	  bin/sharder_basic file [GRAPH-FILENAME] nshards auto

The program will ask for the type of the edgedata. For pagerank,
enter "float". It will also ask for the input file type. Currently
edgelist and adjacency list are supported. For the description, see
http://code.google.com/p/graphchi/wiki/EdgeListFormat
http://code.google.com/p/graphchi/wiki/AdjacencyListFormat

Look for a message " Created x shards.", to see how many
shards it created. 

NOTE

This is very early release of GraphChi-Java. I plan to continue
developing it in August, after my holidays.

I hope the code is readable enough, as documentation is not there
yet.


-- Aapo Kyrola, July 13 2012
akyrola@cs.cmu.edu



About

GraphChi's Java version

Big Data - small machine

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 95.5%
  • Scala 4.3%
  • PigLatin 0.2%