diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 9b23e11b1d1..01c3d85488f 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -218,7 +218,7 @@ function hadoopcheck_filefilter { local filename=$1 - if [[ ${filename} =~ \.java$ ]]; then + if [[ ${filename} =~ \.java$ ]] || [[ ${filename} =~ pom.xml$ ]]; then add_test hadoopcheck fi } @@ -241,6 +241,10 @@ function hadoopcheck_rebuild return 0 fi + if ! verify_needed_test hadoopcheck; then + return 0 + fi + big_console_header "Compiling against various Hadoop versions" # All supported Hadoop versions that we want to test the compilation with @@ -317,7 +321,7 @@ function hbaseprotoc_filefilter fi } -## @description hadoopcheck test +## @description check hbase proto compilation ## @audience private ## @stability evolving ## @param repostatus