Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Compare: Home

Showing with 8 additions and 5 deletions.
  1. +8 −5 Home.md
View
13 Home.md
@@ -19,6 +19,9 @@ This is a hacky tool that I wrote and was adopted before I could make it lot mor
## Example:
+1. Split into 8 chunks: $./run.sh -i /tmp/input -o /tmp/output -n 8
+2. Split into chunks of size approx. 4MB: $./run.sh -i /tmp/input -o /tmp/output -c 4
+
### Input:
[thiruvel@localhost StreamingBz2Split]$ hadoop fs -ls /tmp/input
@@ -26,13 +29,13 @@ This is a hacky tool that I wrote and was adopted before I could make it lot mor
-rw-r--r-- 1 thiruvel supergroup 66410623 2012-03-16 03:09 /tmp/input/CB.bz2
[thiruvel@localhost StreamingBz2Split]$
-### Execution:
-
-Split into 8 chunks: $./run.sh -i /tmp/input -o /tmp/output -n 8
-Split into chunks of size approx. 4MB: $./run.sh -i /tmp/input -o /tmp/output -c 4
-
### Sample run:
+ [thiruvel@localhost StreamingBz2Split]$ hadoop fs -ls /tmp/input
+ Found 1 items
+ -rw-r--r-- 1 thiruvel supergroup 66410623 2012-03-16 03:09 /tmp/input/CB.bz2
+ [thiruvel@localhost StreamingBz2Split]$
+
[thiruvel@localhost StreamingBz2Split]$ ./run.sh -i /tmp/input -o /tmp/output -n 8
Deleted hdfs://localhost.:8020/tmp/output
Something went wrong with that request. Please try again.