Go to file
Claudio Atzori ed8effd641 updated readme 2019-10-11 11:12:36 +02: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 adjusted SequenceFileReader to print the sequence file content in stdout 2019-10-11 11:11:16 +02: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
MANIFEST.txt adjusted SequenceFileReader to print the sequence file content in stdout 2019-10-11 11:11:16 +02:00
README.md updated readme 2019-10-11 11:12:36 +02:00
pom.xml adjusted SequenceFileReader to print the sequence file content in stdout 2019-10-11 11:11:16 +02: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://code-repo.d4science.org/D-Net/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