You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/09/08 05:38:37 UTC

git commit: Fixed typos in make-distribution.sh

Repository: spark
Updated Branches:
  refs/heads/master ecfa76cdf -> 9d69a782b


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 <li...@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


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

Branch: refs/heads/master
Commit: 9d69a782bd2fc45193f269d8d8434795ea1580a4
Parents: ecfa76c
Author: Cheng Lian <li...@gmail.com>
Authored: Sun Sep 7 20:38:32 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Sun Sep 7 20:38:32 2014 -0700

----------------------------------------------------------------------
 make-distribution.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/9d69a782/make-distribution.sh
----------------------------------------------------------------------
diff --git a/make-distribution.sh b/make-distribution.sh
index f030d3f..14aed4a 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)


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