mkdir -p /mnt/disk1/data

cd v2.11.0rc2/tools/
./dsdgen -scale 10000 -dir /mnt/disk1/data -update 1 &
./dsdgen -scale 10000 -dir /mnt/disk1/data -update 2 &
./dsdgen -scale 10000 -dir /mnt/disk1/data -update 3 &
./dsdgen -scale 10000 -dir /mnt/disk1/data -update 4 &
wait
cd ../../
hdfs dfs -rmr /user/beeline/tpcds/mt/
hdfs dfs -mkdir -p /user/beeline/tpcds/mt
./upload_mt.sh 1 &
./upload_mt.sh 2 &
./upload_mt.sh 3 &
./upload_mt.sh 4 &

wait

