Github user yaoshengzhe commented on a diff in the pull request:

    https://github.com/apache/spark/pull/120#discussion_r10540808
  
    --- Diff: 
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala 
---
    @@ -67,24 +67,39 @@ class ClientArguments(val args: Array[String], val 
sparkConf: SparkConf) {
               userArgsBuffer += value
               args = tail
     
    -        case ("--master-class") :: value :: tail =>
    +        case ("--master-class" | "--am-class") :: value :: tail =>
    --- End diff --
    
    If, for some reason, people specify both --master-class and --am-class, the 
final class picked by Spark will depend on order or args. Should we detect such 
case and give a warning or throw an error ? Same thing for --master-memory, 
--num-workers, etc.  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to