You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by bo...@apache.org on 2023/03/15 09:09:14 UTC
[kyuubi] branch master updated: [KYUUBI #4502] Reduce build concurency mvnd.minThreads in CI builds
This is an automated email from the ASF dual-hosted git repository.
bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 38cf59d47 [KYUUBI #4502] Reduce build concurency mvnd.minThreads in CI builds
38cf59d47 is described below
commit 38cf59d47be8f6d1b45562259c9e6342215888de
Author: liangbowen <li...@gf.com.cn>
AuthorDate: Wed Mar 15 17:08:59 2023 +0800
[KYUUBI #4502] Reduce build concurency mvnd.minThreads in CI builds
### _Why are the changes needed?_
- to fix mvnd failure in `Install` step of `Sytle Check` job in (https://github.com/apache/kyuubi/actions/runs/4403008223/jobs/7711886893#step:7:1012)
- by lowering `mvnd.minThreads` to reduce memory pressure in concurrent builds
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request
Closes #4502 from bowenliang123/sytle-mvn.
Closes #4502
a3ddb6270 [liangbowen] lower `mvnd.minThreads`
Authored-by: liangbowen <li...@gf.com.cn>
Signed-off-by: liangbowen <li...@gf.com.cn>
---
build/mvnd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build/mvnd b/build/mvnd
index 9af3429f3..81a6f5c20 100755
--- a/build/mvnd
+++ b/build/mvnd
@@ -25,7 +25,7 @@ _CALLING_DIR="$(pwd)"
_COMPILE_JVM_OPTS="-Xms2g -Xmx2g -XX:ReservedCodeCacheSize=1g -Xss128m"
if [ "$CI" ]; then
- export MAVEN_CLI_OPTS="-Dmvnd.minThreads=8 --no-transfer-progress --errors --fail-fast -Dstyle.color=always"
+ export MAVEN_CLI_OPTS="-Dmvnd.minThreads=4 --no-transfer-progress --errors --fail-fast -Dstyle.color=always"
fi
# Installs any application tarball given a URL, the expected tarball name,