Grant Henke has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/15470
Reviewed-by: Andrew Wong <[email protected]>
Tested-by: Kudu Jenkins
---
M CMakeLists.txt
M java/build.gradle
2 files changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Andrew Wong: Looks good to me, approved
  Kudu Jenkins: Verified

--
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: merged
Gerrit-Change-Id: I26444e6d2f8fffca1d070a591710bd7382063624
Gerrit-Change-Number: 15470
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to