Shay Rojansky created SPARK-2880:
------------------------------------

             Summary: spark-submit processes app cmdline options
                 Key: SPARK-2880
                 URL: https://issues.apache.org/jira/browse/SPARK-2880
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.0.0
         Environment: Cloudera 5.1 on Ubuntu precise
            Reporter: Shay Rojansky
            Priority: Minor


The usage for spark-submit is:
Usage: spark-submit [options] <app jar | python file> [app options]

However, when running my Python app thus:
spark-submit test.py -v

The -v gets picked up by spark-submit, which enters verbose mode. The correct 
behavior seems to be for test.py to receive this parameter.

First time using Spark and submitting, will be happy to contribute a patch if 
this is validated as a bug.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to