diff options
author | Cheng Lian <lian.cs.zju@gmail.com> | 2014-09-07 20:38:32 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-09-07 20:38:32 -0700 |
commit | 9d69a782bd2fc45193f269d8d8434795ea1580a4 (patch) | |
tree | 6a6a9f9464fad7418c82d569c3bfb831b7e66f74 | |
parent | ecfa76cdfe846c75e1b7ebc556167e46963289c5 (diff) | |
download | spark-9d69a782bd2fc45193f269d8d8434795ea1580a4.tar.gz spark-9d69a782bd2fc45193f269d8d8434795ea1580a4.tar.bz2 spark-9d69a782bd2fc45193f269d8d8434795ea1580a4.zip |
Fixed typos in make-distribution.sh
`hadoop.version` and `yarn.version` are properties rather then profiles, should use `-D` instead of `-P`.
/cc pwendell
Author: Cheng Lian <lian.cs.zju@gmail.com>
Closes #2121 from liancheng/fix-make-dist and squashes the following commits:
4c49158 [Cheng Lian] Also mentions Hadoop version related Maven profiles
ed5b42a [Cheng Lian] Fixed typos in make-distribution.sh
-rwxr-xr-x | make-distribution.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make-distribution.sh b/make-distribution.sh index f030d3f430..14aed4a4b6 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -50,7 +50,8 @@ while (( "$#" )); do case $1 in --hadoop) echo "Error: '--hadoop' is no longer supported:" - echo "Error: use Maven options -Phadoop.version and -Pyarn.version" + echo "Error: use Maven profiles and options -Dhadoop.version and -Dyarn.version instead." + echo "Error: Related profiles include hadoop-0.23, hdaoop-2.2, hadoop-2.3 and hadoop-2.4." exit_with_usage ;; --with-yarn) |