Skip to content

Commit e45bfa8

Browse files
lianchengpwendell
authored andcommitted
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 <[email protected]> Closes apache#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 9d69a78) Signed-off-by: Patrick Wendell <[email protected]>
1 parent d555c2e commit e45bfa8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make-distribution.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ while (( "$#" )); do
5050
case $1 in
5151
--hadoop)
5252
echo "Error: '--hadoop' is no longer supported:"
53-
echo "Error: use Maven options -Phadoop.version and -Pyarn.version"
53+
echo "Error: use Maven profiles and options -Dhadoop.version and -Dyarn.version instead."
54+
echo "Error: Related profiles include hadoop-0.23, hdaoop-2.2, hadoop-2.3 and hadoop-2.4."
5455
exit_with_usage
5556
;;
5657
--with-yarn)

0 commit comments

Comments
 (0)