change formatting of readme
This commit is contained in:
parent
7b0290ad29
commit
e59b4aeae7
|
@ -17,10 +17,14 @@ 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
|
||||
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
|
||||
hadoop jar target/sequencefile-examples-0.0.1-SNAPSHOT.jar \
|
||||
com.github.sakserv.sequencefile.SequenceFileReader \
|
||||
/tmp/seqfile_ex/seqfile.seq
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue