You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Claudio Atzori ed8effd641 updated readme 5 years ago
.idea initial project layout and tests 9 years ago
bin add test to the build 9 years ago
src adjusted SequenceFileReader to print the sequence file content in stdout 5 years ago
test/main/java/com/github/sakserv/sequencefile added sample 9 years ago
.gitignore added readme, gitignore and pom 9 years ago
LICENSE Initial commit 9 years ago
MANIFEST.txt adjusted SequenceFileReader to print the sequence file content in stdout 5 years ago
README.md updated readme 5 years ago
pom.xml adjusted SequenceFileReader to print the sequence file content in stdout 5 years ago
sequencefile-examples.iml added sample 9 years ago

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