Skip to content

Commit

Permalink
Disable verbose archive extraction. (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
medb authored Feb 25, 2020
1 parent 0abebc8 commit c0c423e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion alluxio/alluxio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function bootstrap_alluxio() {
mkdir ${ALLUXIO_HOME}
download_file "${ALLUXIO_DOWNLOAD_URL}"
local tarball_name=${ALLUXIO_DOWNLOAD_URL##*/}
tar -zxf "${tarball_name}" -C ${ALLUXIO_HOME} --strip-components 1
tar -xzf "${tarball_name}" -C ${ALLUXIO_HOME} --strip-components 1
ln -s "${ALLUXIO_HOME}/client/alluxio-${ALLUXIO_VERSION}-client.jar" "${ALLUXIO_HOME}/client/alluxio-client.jar"

# Download files to /opt/alluxio/conf
Expand Down
2 changes: 1 addition & 1 deletion bigdl/bigdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mkdir -p /opt/intel-bigdl
cd /opt/intel-bigdl

wget -nv --timeout=30 --tries=5 --retry-connrefused "${BIGDL_DOWNLOAD_URL}"
unzip *.zip
unzip -q ./*.zip

JAR=$(realpath lib/*.jar)
PYTHON_ZIP=$(realpath lib/*.zip)
Expand Down
2 changes: 1 addition & 1 deletion docker/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function configure_gcr() {
# this standalone method is recommended here:
# https://cloud.google.com/container-registry/docs/advanced-authentication#standalone_docker_credential_helper
curl -fsSL "https://github.com/GoogleCloudPlatform/docker-credential-gcr/releases/download/v${CREDENTIAL_HELPER_VERSION}/docker-credential-gcr_linux_amd64-${CREDENTIAL_HELPER_VERSION}.tar.gz" |
tar xz --to-stdout ./docker-credential-gcr \
tar -xz --to-stdout ./docker-credential-gcr \
>/usr/local/bin/docker-credential-gcr && chmod +x /usr/local/bin/docker-credential-gcr

# this command configures docker on a per-user basis. Therefore we configure
Expand Down
2 changes: 1 addition & 1 deletion drill/drill.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function main() {
# Download and unpack Drill as the pseudo-user.
wget -nv --timeout=30 --tries=5 --retry-connrefused \
https://archive.apache.org/dist/drill/drill-${DRILL_VERSION}/apache-drill-${DRILL_VERSION}.tar.gz
tar -xvzf apache-drill-${DRILL_VERSION}.tar.gz -C ${DRILL_HOME} --strip 1
tar -xzf apache-drill-${DRILL_VERSION}.tar.gz -C ${DRILL_HOME} --strip 1

# Replace default configuration with cluster-specific.
sed -i "s/drillbits1/${cluster_name}/" ${DRILL_HOME}/conf/drill-override.conf
Expand Down
2 changes: 1 addition & 1 deletion flink/flink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function install_flink_snapshot() {
pushd "${work_dir}"

curl -o "${flink_local}" "${flink_url}"
tar -xzvf "${flink_local}"
tar -xzf "${flink_local}"
rm "${flink_local}"

# only the first match of the flink toplevel pattern is used
Expand Down
2 changes: 1 addition & 1 deletion gobblin/gobblin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function install_package() {
# Download binary.
local temp=$(mktemp -d)
gsutil cp "${PACKAGE_URL}" "${temp}/package.tar.gz"
tar -xvf "${temp}/package.tar.gz" -C "${temp}"
tar -xf "${temp}/package.tar.gz" -C "${temp}"

# Setup package.
install -d "${INSTALL_DIR}"
Expand Down
2 changes: 1 addition & 1 deletion kafka/kafka-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function build_kafka_manager() {
popd

pushd /opt/
unzip /opt/kafka-manager-${KAFKA_MANAGER_VERSION}.zip
unzip -q /opt/kafka-manager-${KAFKA_MANAGER_VERSION}.zip
rm -f /opt/kafka-manager-${KAFKA_MANAGER_VERSION}.zip
popd
}
Expand Down

0 comments on commit c0c423e

Please sign in to comment.