spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject git commit: Fixed typos in make-distribution.sh
Date Mon, 08 Sep 2014 03:38:56 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.1 d555c2ee6 -> e45bfa801


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
(cherry picked from commit 9d69a782bd2fc45193f269d8d8434795ea1580a4)

Signed-off-by: Patrick Wendell <pwendell@gmail.com>


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

Branch: refs/heads/branch-1.1
Commit: e45bfa80124b5a6ee02160f1e9c7e3234cddd231
Parents: d555c2e
Author: Cheng Lian <lian.cs.zju@gmail.com>
Authored: Sun Sep 7 20:38:32 2014 -0700
Committer: Patrick Wendell <pwendell@gmail.com>
Committed: Sun Sep 7 20:38:42 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/spark/blob/e45bfa80/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


Mime
View raw message