aboutsummaryrefslogtreecommitdiff
path: root/demo/dfsio-read-test
blob: 49b39689d1f1bb91e21f687bedb59e71de2ec08f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# test using 10 input files of size 1GB


nrFiles=1
fileSize=100

[[ $# -ge 1 ]] && nrFiles=$1
[[ $# -ge 2 ]] && fileSize=$2

hadoop jar ${HADOOP_COMMON_HOME}/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-${HADOOP_VERSN}-tests.jar TestDFSIO -read -nrFiles $nrFiles -fileSize $fileSize