Description
The run() function, as defined in dist-layout-stitching.sh and dist-tar-stitching, created in hadoop-dist/pom.xml, does not properly propagate the error code of a failing command. See the following:
... "${@}" # call fails with non-zero exit code if [ $? != 0 ]; then echo echo "Failed!" echo exit $? # $?=result of echo above, likely 0, thus exit with code 0 ...