HADOOP-11951. test-patch should give better info about failures to handle dev-support updates without resetrepo option (Sean Busbey via aw)

This commit is contained in:
Allen Wittenauer 2015-05-11 11:45:47 -07:00
parent 32cc3139e3
commit baeb479aef
2 changed files with 11 additions and 0 deletions

View File

@ -1446,6 +1446,14 @@ function check_reexec
fi fi
big_console_header "dev-support patch detected" big_console_header "dev-support patch detected"
if [[ ${RESETREPO} == false ]]; then
((RESULT = RESULT + 1))
hadoop_debug "can't destructively change the working directory. run with '--resetrepo' please. :("
add_jira_table -1 dev-support "Couldn't test dev-support changes because we aren't configured to destructively change the working directory."
return
fi
printf "\n\nRe-executing against patched versions to test.\n\n" printf "\n\nRe-executing against patched versions to test.\n\n"
apply_patch_file apply_patch_file

View File

@ -656,6 +656,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11928. Test-patch check for @author tags incorrectly flags HADOOP-11928. Test-patch check for @author tags incorrectly flags
removal of @author tags (Kengo Seki via aw) removal of @author tags (Kengo Seki via aw)
HADOOP-11951. test-patch should give better info about failures to handle
dev-support updates without resetrepo option (Sean Busbey via aw)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES