kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From granthe...@apache.org
Subject [kudu] branch master updated: [build] Disable parallel Gradle builds in pre-commit.
Date Mon, 16 Mar 2020 23:53:39 GMT
This is an automated email from the ASF dual-hosted git repository.

granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new d84b743  [build] Disable parallel Gradle builds in pre-commit.
d84b743 is described below

commit d84b743391ce53a0b3d766ab9c6c9bd72b24ca8b
Author: Grant Henke <granthenke@apache.org>
AuthorDate: Mon Mar 16 17:34:48 2020 -0500

    [build] Disable parallel Gradle builds in pre-commit.
    
    I have seen a couple issues like below in some automated builds.
    I am not sure the root cause yet, but in the mean time we should
    disable parallel Gradle builds.
    
    Example error:
    `java.lang.OutOfMemoryError: unable to create new native thread`
    
    Change-Id: I27b16f3b3682668cec2b8c760ee8d883f2b4ef58
    Reviewed-on: http://gerrit.cloudera.org:8080/15453
    Reviewed-by: Adar Dembo <adar@cloudera.com>
    Reviewed-by: Andrew Wong <awong@cloudera.com>
    Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
    Tested-by: Grant Henke <granthenke@apache.org>
---
 build-support/jenkins/build-and-test.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build-support/jenkins/build-and-test.sh b/build-support/jenkins/build-and-test.sh
index fe8c142..49b5cfd 100755
--- a/build-support/jenkins/build-and-test.sh
+++ b/build-support/jenkins/build-and-test.sh
@@ -293,6 +293,8 @@ fi
 export EXTRA_GRADLE_FLAGS="--console=plain"
 EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS --no-daemon"
 EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS --continue"
+# Temporarily disable parallel builds for automated builds.
+EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS --no-parallel"
 # KUDU-2524: temporarily disable scalafmt until we can work out its JDK
 # incompatibility issue.
 EXTRA_GRADLE_FLAGS="$EXTRA_GRADLE_FLAGS -DskipFormat"


Mime
View raw message