diff --git a/hbase-setup.sh b/hbase-setup.sh index 18e957d..2f684af 100755 --- a/hbase-setup.sh +++ b/hbase-setup.sh @@ -24,16 +24,19 @@ download() { if [ -f "$HBASE_FILE" ]; then CKSUM="$(sha512 -q ${HBASE_FILE})" if [ "$CKSUM" = "$HBASE_FILE_CKSUM" ]; then - echo "${1} exists." + printf "HBase archive exists\n" fi else + printf "Downloading ${1}\n" curl -LO ${1} fi + printf "Extracting archive\n" tar xfz ${HBASE_FILE} } create_config() { + printf "Writing config\n" cat < $1