You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2014/03/18 18:48:56 UTC

svn commit: r1578982 - /hbase/trunk/dev-support/test-patch.sh

Author: tedyu
Date: Tue Mar 18 17:48:55 2014
New Revision: 1578982

URL: http://svn.apache.org/r1578982
Log:
HBASE-10691 test-patch.sh should continue even if compilation against hadoop 1.0 / 1.1 fails


Modified:
    hbase/trunk/dev-support/test-patch.sh

Modified: hbase/trunk/dev-support/test-patch.sh
URL: http://svn.apache.org/viewvc/hbase/trunk/dev-support/test-patch.sh?rev=1578982&r1=1578981&r2=1578982&view=diff
==============================================================================
--- hbase/trunk/dev-support/test-patch.sh (original)
+++ hbase/trunk/dev-support/test-patch.sh Tue Mar 18 17:48:55 2014
@@ -353,7 +353,7 @@ applyPatch () {
 
 ###############################################################################
 ### Attempt to compile against the hadoop 1.1
-checkHadoop20Compile () {
+checkHadoop11Compile () {
   echo ""
   echo ""
   echo "======================================================================"
@@ -376,8 +376,7 @@ checkHadoop20Compile () {
     JIRA_COMMENT="$JIRA_COMMENT
 
     {color:red}-1 hadoop1.1{color}.  The patch failed to compile against the hadoop 1.1 profile."
-    submitJiraComment 1
-    cleanupAndExit 1
+	  return 1
   fi
   JIRA_COMMENT="$JIRA_COMMENT
 
@@ -408,8 +407,8 @@ checkHadoop10Compile () {
     {color:red}-1 hadoop1.0{color}.  The patch failed to compile against the hadoop 1.0 profile.
     Here is snippet of errors:
     {code}$ERR{code}"
-    submitJiraComment 1
-    cleanupAndExit 1
+
+	  return 1
   fi
   JIRA_COMMENT="$JIRA_COMMENT
 
@@ -908,7 +907,7 @@ checkAntiPatterns
 (( RESULT = RESULT + $? ))
 checkHadoop10Compile
 (( RESULT = RESULT + $? ))
-checkHadoop20Compile
+checkHadoop11Compile
 (( RESULT = RESULT + $? ))
 checkJavadocWarnings
 (( RESULT = RESULT + $? ))