Cheng Lian created SPARK-3214: --------------------------------- Summary: Argument parsing loop in make-distribution.sh ends prematurely Key: SPARK-3214 URL: https://issues.apache.org/jira/browse/SPARK-3214 Project: Spark Issue Type: Bug Components: Build Affects Versions: 1.0.2 Reporter: Cheng Lian Priority: Minor
Running {{make-distribution.sh}} in this way: {code} ./make-distribution.sh --hadoop -Pyarn {code} results in a proper error message: {code} Error: '--hadoop' is no longer supported: Error: use Maven options -Phadoop.version and -Pyarn.version {code} But if you running it with options placed in reverse order, it just passes: {code} ./make-distribution.sh -Pyarn --hadoop {code} The reason is that the {{while}} loop ends prematurely before checking all potentially deprecated command line options. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org