You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by va...@apache.org on 2018/11/16 23:57:45 UTC

spark git commit: [SPARK-26095][BUILD] Disable parallelization in make-distibution.sh.

Repository: spark
Updated Branches:
  refs/heads/master 058c4602b -> d2792046a


[SPARK-26095][BUILD] Disable parallelization in make-distibution.sh.

It makes the build slower, but at least it doesn't hang. Seems that
maven-shade-plugin has some issue with parallelization.

Closes #23061 from vanzin/SPARK-26095.

Authored-by: Marcelo Vanzin <va...@cloudera.com>
Signed-off-by: Marcelo Vanzin <va...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/d2792046
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/d2792046
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/d2792046

Branch: refs/heads/master
Commit: d2792046a1b10a07b65fc30be573983f1237e450
Parents: 058c460
Author: Marcelo Vanzin <va...@cloudera.com>
Authored: Fri Nov 16 15:57:38 2018 -0800
Committer: Marcelo Vanzin <va...@cloudera.com>
Committed: Fri Nov 16 15:57:38 2018 -0800

----------------------------------------------------------------------
 dev/make-distribution.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/d2792046/dev/make-distribution.sh
----------------------------------------------------------------------
diff --git a/dev/make-distribution.sh b/dev/make-distribution.sh
index 84f4ae9..a550af9 100755
--- a/dev/make-distribution.sh
+++ b/dev/make-distribution.sh
@@ -165,7 +165,7 @@ export MAVEN_OPTS="${MAVEN_OPTS:--Xmx2g -XX:ReservedCodeCacheSize=512m}"
 # Store the command as an array because $MVN variable might have spaces in it.
 # Normal quoting tricks don't work.
 # See: http://mywiki.wooledge.org/BashFAQ/050
-BUILD_COMMAND=("$MVN" -T 1C clean package -DskipTests $@)
+BUILD_COMMAND=("$MVN" clean package -DskipTests $@)
 
 # Actually build the jar
 echo -e "\nBuilding with..."


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org