Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/3916#issuecomment-70008302
  
    >  But I think it's weird that "LauncherCommon" is what they need to import 
to get them.
    
    Well, it's a little weird, but you can do `import static 
org.apache.spark.launcher.SparkLauncher.*;` to get those constants too.
    
    I chose this approach to minimize the number of imports people need 
(generally they just import `SparkLauncher` and be done with it, and access 
constants via `SparkLauncher.FOO`). But I'm not against introducing a second 
class with just constants if people prefer that.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to