Github user a-roberts commented on a diff in the pull request: https://github.com/apache/spark/pull/13562#discussion_r66686256 --- Diff: dev/make-distribution.sh --- @@ -150,7 +156,13 @@ export MAVEN_OPTS="${MAVEN_OPTS:--Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCac # 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" clean package -DskipTests $@) + +# If NUM_THREADS is set we actually want to add the -T in (removed with shift earlier) +if [ -n "$NUM_THREADS" ]; then + MVN_T_OPTION="-T" +fi + +BUILD_COMMAND=("$MVN" $MVN_T_OPTION $NUM_THREADS clean package -DskipTests $@) --- End diff -- That's true and it's unlikely users will use anything but 1C as the value, so I agree let's add -T 1C and keep it simple Changeset will therefore be - Adding the comment in README.md that you can use it - Hardcodeing the above - Adding the missing hadoop-2.7 example profile
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org