You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2014/08/25 23:07:00 UTC

[jira] [Created] (SPARK-3214) Argument parsing loop in make-distribution.sh ends prematurely

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org