Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (14 sloc) 404 Bytes
#!/bin/bash -x
HDFSDU_VERSION=0.1.0
cd service
mvn clean assembly:assembly -DdescriptorId=bin
cd target
unzip hdfsdu-service-${HDFSDU_VERSION}-bin.zip
cd hdfsdu-service-${HDFSDU_VERSION}
pwd
java -Xms2048m -Xmx2048m -cp 'lib/*' \
com.twitter.hdfsdu.HdfsDu \
-http_port=20000 \
-use_glog \
-use_glog_formatter \
-input_path=../../src/main/resources/com/twitter/hdfsdu/data/example.txt