HADOOP-11884. test-patch.sh should pull the real findbugs version (Kengo Seki via aw)

This commit is contained in:
Allen Wittenauer 2015-05-18 16:08:49 +00:00
parent a6af0248e9
commit 182d86dac0
2 changed files with 6 additions and 2 deletions

View File

@ -1859,8 +1859,6 @@ function check_findbugs
return 1
fi
findbugs_version=$("${FINDBUGS_HOME}/bin/findbugs" -version)
for module in ${modules}
do
pushd "${module}" >/dev/null
@ -1872,6 +1870,9 @@ function check_findbugs
popd >/dev/null
done
#shellcheck disable=SC2016
findbugs_version=$(${AWK} 'match($0, /findbugs-maven-plugin:[^:]*:findbugs/) { print substr($0, RSTART + 22, RLENGTH - 31); exit }' "${PATCH_DIR}/patchFindBugsOutput${module_suffix}.txt")
if [[ ${rc} -ne 0 ]]; then
add_jira_table -1 findbugs "The patch appears to cause Findbugs (version ${findbugs_version}) to fail."
return 1

View File

@ -575,6 +575,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11939. Deprecate DistCpV1 and Logalyzer.
(Brahma Reddy Battula via aajisaka)
HADOOP-11884. test-patch.sh should pull the real findbugs version
(Kengo Seki via aw)
OPTIMIZATIONS
HADOOP-11785. Reduce the number of listStatus operation in distcp