Be more verbose
This commit is contained in:
parent
0c033f45b8
commit
3e5fe8e9cb
|
@ -24,16 +24,19 @@ download() {
|
||||||
if [ -f "$HBASE_FILE" ]; then
|
if [ -f "$HBASE_FILE" ]; then
|
||||||
CKSUM="$(sha512 -q ${HBASE_FILE})"
|
CKSUM="$(sha512 -q ${HBASE_FILE})"
|
||||||
if [ "$CKSUM" = "$HBASE_FILE_CKSUM" ]; then
|
if [ "$CKSUM" = "$HBASE_FILE_CKSUM" ]; then
|
||||||
echo "${1} exists."
|
printf "HBase archive exists\n"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
printf "Downloading ${1}\n"
|
||||||
curl -LO ${1}
|
curl -LO ${1}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
printf "Extracting archive\n"
|
||||||
tar xfz ${HBASE_FILE}
|
tar xfz ${HBASE_FILE}
|
||||||
}
|
}
|
||||||
|
|
||||||
create_config() {
|
create_config() {
|
||||||
|
printf "Writing config\n"
|
||||||
cat <<EOF > $1
|
cat <<EOF > $1
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
|
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
|
||||||
|
|
Loading…
Reference in New Issue