Grant Henke has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15470


Change subject: [build] Fix buildSrc lock timeout
......................................................................

[build] Fix buildSrc lock timeout

I have seen a few instances where the `make` build fails in a fresh
environment with the below error about a buildSrc lock:

`Timeout waiting to lock buildSrc build lock. It is currently in use by another 
Gradle instance.`

However, I have not seen this at all in pre-commit builds where
the environment isn’t wiped or in developer environments.

I think the issue is that building the buildSrc module for the first time
takes too long because it needs to pull dependencies and doesn’t
have a cache to use.

This patch adds an extra step in the cmake Gradle initialization
to actually call a project task to ensure the buildSrc module is
initialized.

Change-Id: I26444e6d2f8fffca1d070a591710bd7382063624
---
M CMakeLists.txt
M java/build.gradle
2 files changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/70/15470/1
--
To view, visit http://gerrit.cloudera.org:8080/15470
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I26444e6d2f8fffca1d070a591710bd7382063624
Gerrit-Change-Number: 15470
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>

Reply via email to