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

    https://github.com/apache/spark/pull/1002#discussion_r13683413
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -297,7 +297,7 @@ class SparkContext(config: SparkConf) extends Logging {
     
       // Set SPARK_USER for user who is running SparkContext.
       val sparkUser = Option {
    -    
Option(System.getProperty("user.name")).getOrElse(System.getenv("SPARK_USER"))
    --- End diff --
    
    Hi @tgravescs , originally I put SPARK_USER before user.name when I 
submitted a PR, and someone suggested me to change the order to keep consistent 
with other Spark parameter, so I changed this. I assume it's OK in standalone 
and mesos mode, but I didn't test it in Yarn mode.
    
    It looks good to me to change this order if needed. :)


---
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