This is an automated email from the ASF dual-hosted git repository.
mcvsubbu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 47a75e5 Remove parallel builds in compat scripts (#7108)
47a75e5 is described below
commit 47a75e5093129cc280de4c118434ccb337cd3da1
Author: Subbu Subramaniam <[email protected]>
AuthorDate: Tue Jun 29 19:40:27 2021 -0700
Remove parallel builds in compat scripts (#7108)
Parallel builds seem to fail occasionally since some packages are not
thread-safe. We can always add back parallel builds vie PINOT_MAVEN_OPTS
if needed
---
compatibility-verifier/checkoutAndBuild.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compatibility-verifier/checkoutAndBuild.sh
b/compatibility-verifier/checkoutAndBuild.sh
index f624cea..7d218dc 100755
--- a/compatibility-verifier/checkoutAndBuild.sh
+++ b/compatibility-verifier/checkoutAndBuild.sh
@@ -52,7 +52,7 @@ function checkoutAndBuild() {
# Pull the tag list so that we can check out by tag name
git fetch --tags || exit 1
git checkout $commitHash || exit 1
- mvn install package -DskipTests -Pbin-dist -T 4 -Djdk.version=8
${PINOT_MAVEN_OPTS} || exit 1
+ mvn install package -DskipTests -Pbin-dist -Djdk.version=8
${PINOT_MAVEN_OPTS} || exit 1
popd || exit 1
exit 0
}
@@ -119,7 +119,7 @@ workingDir=$(absPath "$workingDir")
newTargetDir="$workingDir"/newTargetDir
if [ -z "$newerCommit" ]; then
echo "Compiling current tree as newer version"
- (cd $cmdDir/.. && mvn install package -DskipTests -Pbin-dist -T 4 -D
jdk.version=8 ${PINOT_MAVEN_OPTS} && mvn -pl pinot-tools package -T 4
-DskipTests -Djdk.version=8 ${PINOT_MAVEN_OPTS} && mvn -pl
pinot-integration-tests package -T 4 -DskipTests -Djdk.version=8
${PINOT_MAVEN_OPTS})
+ (cd $cmdDir/.. && mvn install package -DskipTests -Pbin-dist -D
jdk.version=8 ${PINOT_MAVEN_OPTS} && mvn -pl pinot-tools package -DskipTests
-Djdk.version=8 ${PINOT_MAVEN_OPTS} && mvn -pl pinot-integration-tests package
-DskipTests -Djdk.version=8 ${PINOT_MAVEN_OPTS})
if [ $? -ne 0 ]; then
echo Compile failed.
exit 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]