[ https://issues.apache.org/jira/browse/HIVE-8351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14159324#comment-14159324 ]
Brock Noland commented on HIVE-8351: ------------------------------------ To facilitate running multiple builds as precommit (e.g. hadoop1 and hadoop2) we could annotate the attachment id message with the build name. Background, every pre-commit message ends with {{ATTACHMENT ID: XXXXXX}} which is use to ensure we don't test a patch more than once due to someone uploading a patch several times in a few minutes. We should make that to {{ATTACHMENT ID: XXXXXX - $BUILD_NAME}} and {{ATTACHMENT ID: XXXXXX - $BUILD_NAME}} and then we'd create two precommit builds, one for Hadoop-1 and one for Hadoop-2. We would do this by putting a portion of the build tag: https://github.com/apache/hive/blob/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/PTest.java#L287 here: https://github.com/apache/hive/blob/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java#L138 Build tags have the build name and then the build number, e.g. {{PreCommit-HIVE-TRUNK-Build-1115}} so we'd want to strip off that last number. > Allow testing of both hadoop-1 and hadoop-2 for precommits > ---------------------------------------------------------- > > Key: HIVE-8351 > URL: https://issues.apache.org/jira/browse/HIVE-8351 > Project: Hive > Issue Type: Task > Reporter: Brock Noland > > Since we keep breaking Hadoop-1, we should make it possible to run both > Hadoop-1 and Hadoop-2 as pre-commits. This may cost additional dollars as > we'd have to increase the number of hosts we use to build, but would make the > Hadoop-1 build stable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)