Skip to content

Working with Karma using Map Reduce

Andrew Philpot edited this page May 22, 2015 · 2 revisions

Karma running on Map/Reduce uses data in Hadoop sequence file format.

To convert data in a JSON array format to sequence files, use Karma-MR:

git clone https://github.com/usc-isi-i2/Web-Karma.git

mvn clean install

cd Web-Karma/karma-mr

mvn exec:java -Dexec.mainClass="edu.isi.karma.mapreduce.function.CreateSequenceFile" -Dexec.args="--filepath <jsonFile> --outputpath <directory> --usekey false"