Mercurial > lbo > hg > localmr
view testdata/generate_sorted_files.sh @ 82:0557a5c0d28d
Add test for ReducePartition
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sun, 07 Feb 2016 09:53:03 +0000 |
parents | 2e7fba6d7cad |
children |
line wrap: on
line source
#!/bin/bash # This script generates 11 files with random alphanumeric strings. # Those are used by certain tests to test and measure the performance of # sharded sort implementations. for I in {0..10}; do cat /dev/urandom | tr -dc "\n[:alnum:]" | egrep '[[:alnum:]]{15,}' | colrm 16 | head -n 1000000 | sort > sorted${I}.txt; done