This is an automated email from the ASF dual-hosted git repository. elek pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new 75ba719 HDDS-1419. Fix shellcheck errors in start-chaos.sh 75ba719 is described below commit 75ba719ddd3655df97130dd294d9536d7654a422 Author: Doroszlai, Attila <adorosz...@apache.org> AuthorDate: Thu Apr 11 16:37:17 2019 +0200 HDDS-1419. Fix shellcheck errors in start-chaos.sh Closes #728 --- .../integration-test/src/test/bin/start-chaos.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hadoop-ozone/integration-test/src/test/bin/start-chaos.sh b/hadoop-ozone/integration-test/src/test/bin/start-chaos.sh index d98e9ca..5de6013 100755 --- a/hadoop-ozone/integration-test/src/test/bin/start-chaos.sh +++ b/hadoop-ozone/integration-test/src/test/bin/start-chaos.sh @@ -15,21 +15,21 @@ # See the License for the specific language governing permissions and # limitations under the License. -date=`date +"%Y-%m-%d--%H-%M-%S-%Z"` +date=$(date +"%Y-%m-%d--%H-%M-%S-%Z") fileformat=".MiniOzoneChaosCluster.log" heapformat=".dump" current="/tmp/" -filename=$current$date$fileformat -heapdumpfile=$current$date$heapformat +filename="${current}${date}${fileformat}" +heapdumpfile="${current}${date}${heapformat}" -export MAVEN_OPTS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath={$heapdumpfile}" +export MAVEN_OPTS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${heapdumpfile}" -echo "logging to" ${filename} -echo "heapdump to" ${heapdumpfile} +echo "logging to ${filename}" +echo "heapdump to ${heapdumpfile}" echo "Starting MiniOzoneChaosCluster" -mvn clean install -DskipTests > ${filename} 2>&1 +mvn clean install -DskipTests > "${filename}" 2>&1 mvn exec:java \ -Dexec.mainClass="org.apache.hadoop.ozone.TestMiniChaosOzoneCluster" \ -Dexec.classpathScope=test \ - -Dexec.args="$*" >> ${filename} 2>&1 + -Dexec.args="$*" >> "${filename}" 2>&1 --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org