Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/13562#discussion_r66625100
--- Diff: dev/make-distribution.sh ---
@@ -42,6 +42,8 @@ function exit_with_usage {
echo "usage:"
cl_options="[--name] [--tgz] [--mvn <mvn-command>]"
echo "make-distribution.sh $cl_options <maven build options>"
+ echo "Decrease build times by adding the -T option: -T 1C will result in
Maven using one thread per core."
+ echo "For example, dev/make-distribution.sh -T 1C --name hadoop-2.7.2
-Psparkr -Pyarn -Phadoop-2.7 -Phive -Phive-thriftserver -Dscala-2.11"
--- End diff --
Yeah, that's not a way to specify options to mvn inside the script. What
about just `-T 1C -Pyarn...` If that doesn't work there may not be a way to
specify this and you could just back this out.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]