Skip to content

Commit

Permalink
HADOOP-9614. smart-test-patch.sh hangs for new version of patch (2.7.…
Browse files Browse the repository at this point in the history
…1) (Ravi Prakash via jeagles)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489136 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Jonathan Turner Eagles committed Jun 3, 2013
1 parent 4a14264 commit 8db62b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dev-support/smart-apply-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ if $PATCH -p0 -E --dry-run < $PATCH_FILE 2>&1 > $TMP; then
TMP2=/tmp/tmp.paths.2.$$
TOCLEAN="$TOCLEAN $TMP2"

grep '^patching file ' $TMP | awk '{print $3}' | grep -v /dev/null | sort | uniq > $TMP2
egrep '^patching file |^checking file ' $TMP | awk '{print $3}' | grep -v /dev/null | sort | uniq > $TMP2

if [ ! -s $TMP2 ]; then
echo "Error: Patch dryrun couldn't detect changes the patch would make. Exiting."
cleanup 1
fi

#first off check that all of the files do not exist
FOUND_ANY=0
Expand Down
3 changes: 3 additions & 0 deletions hadoop-common-project/hadoop-common/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1777,6 +1777,9 @@ Release 0.23.8 - UNRELEASED
HADOOP-9504. MetricsDynamicMBeanBase has concurrency issues in
createMBeanInfo (Liang Xie via jlowe)

HADOOP-9614. smart-test-patch.sh hangs for new version of patch (2.7.1)
(Ravi Prakash via jeagles)

Release 0.23.7 - UNRELEASED

INCOMPATIBLE CHANGES
Expand Down

0 comments on commit 8db62b0

Please sign in to comment.