[
https://issues.apache.org/jira/browse/HADOOP-18142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17497431#comment-17497431
]
Zoltan Haindrich commented on HADOOP-18142:
-------------------------------------------
[~vjasani] I've noticed this ticket by chance and would like to mention a few
things I've done in Hive to avoid kinda like the same issues:
* [use
rateLimit|https://github.com/apache/hive/blob/af013246100be85675d18e6dcfcea7f202bc8d2c/Jenkinsfile#L21]
to avoid building the same PR multiple time a day ; this naturally adds a 6
hour wait before the next would start
* use a global lock to [limit the
number|https://github.com/apache/hive/blob/af013246100be85675d18e6dcfcea7f202bc8d2c/Jenkinsfile#L150]
of concurrently running
* [disable concurrent
builds|https://github.com/apache/hive/blob/af013246100be85675d18e6dcfcea7f202bc8d2c/Jenkinsfile#L23]
as there is no point running the tests for someone who pushed new changes
while it was still running => the contributor most likely will push more
commits anyway which could launch even more builds...not starting a new build
means it could pick up multiple trigger events while the one executing is still
running
* auto-kill the build in case the PR was updated while it waiting/running ; by
calling [this
method|https://github.com/apache/hive/blob/master/Jenkinsfile#L30-L45] at a few
key points in the build
> Increase precommit job timeout from 24 hr to 30 hr
> --------------------------------------------------
>
> Key: HADOOP-18142
> URL: https://issues.apache.org/jira/browse/HADOOP-18142
> Project: Hadoop Common
> Issue Type: Task
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
>
> As per some recent precommit build results, full build QA is not getting
> completed in 24 hr (recent example
> [here|https://github.com/apache/hadoop/pull/4000] where more than 5 builds
> timed out after 24 hr). We should increase it to 30 hr.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]