HADOOP-11948. test-patch's issue matching regex should be configurable. (Sean Busbey via aw)

This commit is contained in:
Allen Wittenauer 2015-05-11 11:53:54 -07:00
parent 2d671e5b3d
commit d4f422612a
2 changed files with 7 additions and 0 deletions

View File

@ -581,6 +581,7 @@ function hadoop_usage
echo "--debug If set, then output some extra stuff to stderr" echo "--debug If set, then output some extra stuff to stderr"
echo "--dirty-workspace Allow the local git workspace to have uncommitted changes" echo "--dirty-workspace Allow the local git workspace to have uncommitted changes"
echo "--findbugs-home=<path> Findbugs home directory (default FINDBUGS_HOME environment variable)" echo "--findbugs-home=<path> Findbugs home directory (default FINDBUGS_HOME environment variable)"
echo "--issue-re=<expr> Bash regular expression to use when trying to find a jira ref in the patch name (default '^(HADOOP|YARN|MAPREDUCE|HDFS)-[0-9]+$')"
echo "--modulelist=<list> Specify additional modules to test (comma delimited)" echo "--modulelist=<list> Specify additional modules to test (comma delimited)"
echo "--offline Avoid connecting to the Internet" echo "--offline Avoid connecting to the Internet"
echo "--patch-dir=<dir> The directory for working and output files (default '/tmp/${PROJECT_NAME}-test-patch/pid')" echo "--patch-dir=<dir> The directory for working and output files (default '/tmp/${PROJECT_NAME}-test-patch/pid')"
@ -668,6 +669,9 @@ function parse_args
hadoop_usage hadoop_usage
exit 0 exit 0
;; ;;
--issue-re=*)
ISSUE_RE=${i#*=}
;;
--java-home) --java-home)
JAVA_HOME=${i#*=} JAVA_HOME=${i#*=}
;; ;;

View File

@ -557,6 +557,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11950. Add cli option to test-patch to set the project-under-test HADOOP-11950. Add cli option to test-patch to set the project-under-test
(Sean Busbey via aw) (Sean Busbey via aw)
HADOOP-11948. test-patch's issue matching regex should be configurable.
(Sean Busbey via aw)
OPTIMIZATIONS OPTIMIZATIONS
HADOOP-11785. Reduce the number of listStatus operation in distcp HADOOP-11785. Reduce the number of listStatus operation in distcp