Go to file
Shane Kumpf 3fb0f26393 add test to the build 2015-03-06 09:27:09 -07:00
.idea initial project layout and tests 2015-03-04 13:51:19 -07:00
bin add test to the build 2015-03-06 09:27:09 -07:00
src split out reader and writer 2015-03-05 06:29:44 -07:00
test/main/java/com/github/sakserv/sequencefile added sample 2015-03-05 06:19:07 -07:00
.gitignore added readme, gitignore and pom 2015-03-04 13:21:13 -07:00
LICENSE Initial commit 2015-03-04 11:13:02 -07:00
README.md change formatting of readme 2015-03-05 06:39:33 -07:00
pom.xml split out reader and writer 2015-03-05 06:29:44 -07:00
sequencefile-examples.iml added sample 2015-03-05 06:19:07 -07:00

README.md

sequencefile-examples

A collection of examples of working with sequence files

Setup:

  • Clone the project
cd /tmp && git clone https://github.com/sakserv/sequencefile-examples.git
  • Build the project
cd /tmp/sequencefile-examples && bash -x bin/build.sh
  • Write a sequence file to HDFS
hadoop jar target/sequencefile-examples-0.0.1-SNAPSHOT.jar \
   com.github.sakserv.sequencefile.SequenceFileWriter \
   /tmp/seqfile_ex/seqfile.seq
  • Read the sequence file from HDFS
hadoop jar target/sequencefile-examples-0.0.1-SNAPSHOT.jar \
   com.github.sakserv.sequencefile.SequenceFileReader \
   /tmp/seqfile_ex/seqfile.seq