You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by andrewor14 <gi...@git.apache.org> on 2015/02/27 02:00:05 UTC

[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

GitHub user andrewor14 opened a pull request:

    https://github.com/apache/spark/pull/4799

    [SPARK-6048] SparkConf should not translate deprecated configs on set

    There are multiple issues with translating on set. I will highlight the most serious one here (the rest are on the JIRA).
    
    If the user has both the deprecated and the latest version of the same config set, then the value picked up by SparkConf will be arbitrary. This is because in the `SparkConf` constructor we call `conf.set` on each property in `sys.props` in an order arbitrarily defined by Java. As a result, the value of the more recent config may be overridden by that of the deprecated one. Instead, we should always use the value of the most recent config.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/andrewor14/spark conf-set-translate

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/4799.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4799
    
----
commit 94b4dfaadc62182df45185e4c2d7bc7da6c1ee45
Author: Andrew Or <an...@databricks.com>
Date:   2015-02-27T00:57:20Z

    Translate on get, not set

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76326980
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28037/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76311387
  
    cc @vanzin who originally wrote this code


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76505992
  
    Given the discussion on the bug it looks ok, but it's missing the documentation that explains the behavior.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76587859
  
      [Test build #28143 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28143/consoleFull) for   PR 4799 at commit [`10e77b5`](https://github.com/apache/spark/commit/10e77b5068f916270b3d2f344f077475207f7526).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4799#discussion_r25649473
  
    --- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
    @@ -324,14 +330,13 @@ private[spark] class Executor(
         val classUri = conf.get("spark.repl.class.uri", null)
         if (classUri != null) {
           logInfo("Using REPL class URI: " + classUri)
    -      val userClassPathFirst: java.lang.Boolean =
    -        conf.getBoolean("spark.executor.userClassPathFirst", false)
           try {
    +        val _userClassPathFirst: java.lang.Boolean = userClassPathFirst
    --- End diff --
    
    Maybe not, I'm just preserving what was already there before. This is later used in some reflection code so I think it would be safest to leave it as is.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4799#discussion_r25573606
  
    --- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
    @@ -92,6 +92,16 @@ private[spark] class Executor(
       private val executorActor = env.actorSystem.actorOf(
         Props(new ExecutorActor(executorId)), "ExecutorActor")
     
    +  // Whether to load classes in user jars before those in Spark jars
    +  private val userClassPathFirst: Boolean = {
    +    val oldKey = "spark.files.userClassPathFirst"
    +    val newKey = "spark.executor.userClassPathFirst"
    +    if (conf.contains(oldKey)) {
    +      logWarning(s"$oldKey is deprecated. Please use $newKey instead.")
    --- End diff --
    
    This will log it on the executors, which seems weird since all other configuration warnings are logged at the driver or submission client. Can we just log this warning on the driver side? Or just don't log a deprecation warning always?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76586005
  
      [Test build #28143 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28143/consoleFull) for   PR 4799 at commit [`10e77b5`](https://github.com/apache/spark/commit/10e77b5068f916270b3d2f344f077475207f7526).
     * This patch merges cleanly.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76507997
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28104/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76317227
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28029/
    Test FAILed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76317221
  
      [Test build #28029 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28029/consoleFull) for   PR 4799 at commit [`94b4dfa`](https://github.com/apache/spark/commit/94b4dfaadc62182df45185e4c2d7bc7da6c1ee45).
     * This patch **fails Spark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4799#discussion_r25582753
  
    --- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
    @@ -92,6 +92,16 @@ private[spark] class Executor(
       private val executorActor = env.actorSystem.actorOf(
         Props(new ExecutorActor(executorId)), "ExecutorActor")
     
    +  // Whether to load classes in user jars before those in Spark jars
    +  private val userClassPathFirst: Boolean = {
    +    val oldKey = "spark.files.userClassPathFirst"
    +    val newKey = "spark.executor.userClassPathFirst"
    +    if (conf.contains(oldKey)) {
    +      logWarning(s"$oldKey is deprecated. Please use $newKey instead.")
    --- End diff --
    
    Log it on the driver side during validation, or at some earlier point. I just think having it here isn't super useufl.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76587861
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28143/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76320547
  
    @vanzin does this look okay to you? I commented on the JIRA, but my main goal is to find a surgical patch here that can unblock the release, so just rewinding the change seems the safest.



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76836507
  
    LGTM, left just minor comments.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76504481
  
      [Test build #28104 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28104/consoleFull) for   PR 4799 at commit [`c26a9e3`](https://github.com/apache/spark/commit/c26a9e3c3f6a17ae01782278fb1d4a1426fcbdbd).
     * This patch merges cleanly.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4799#discussion_r25643128
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
    @@ -343,6 +343,13 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
             }
           }
         }
    +
    +    // Warn against the use of deprecated configs
    +    deprecatedConfigs.values.foreach { dc =>
    --- End diff --
    
    Since you're doing this only once during the app's lifetime (this method is only called from SparkContext AFAICT), you could simplify the code that tracks whether warns have been printed in `DeprecatedConfig`. But ok to not do it if you want to limit the scope of the change.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76564115
  
    I agree @andrewor14 can you add documentation about deprecated configs?
    
    I would extend what's there now:
    
    ```
    Properties set directly on the SparkConf take highest precedence, then 
    flags passed to spark-submit or spark-shell, then options in the 
    spark-defaults.conf file. A few configuration keys have been renamed
    since earlier versions of Spark; in such cases, the older key names are still
    accepted, but take lower precedence than any instance of the newer key.
    ```


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76777471
  
      [Test build #28178 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28178/consoleFull) for   PR 4799 at commit [`11c525b`](https://github.com/apache/spark/commit/11c525b60e000fee18122da55f3a3c8d275ec52a).
     * This patch merges cleanly.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4799#discussion_r25649108
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
    @@ -343,6 +343,13 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
             }
           }
         }
    +
    +    // Warn against the use of deprecated configs
    +    deprecatedConfigs.values.foreach { dc =>
    --- End diff --
    
    yeah let's revamp this whole thing after the release


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by vanzin <gi...@git.apache.org>.
Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4799#discussion_r25643250
  
    --- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
    @@ -324,14 +330,13 @@ private[spark] class Executor(
         val classUri = conf.get("spark.repl.class.uri", null)
         if (classUri != null) {
           logInfo("Using REPL class URI: " + classUri)
    -      val userClassPathFirst: java.lang.Boolean =
    -        conf.getBoolean("spark.executor.userClassPathFirst", false)
           try {
    +        val _userClassPathFirst: java.lang.Boolean = userClassPathFirst
    --- End diff --
    
    Do you need this? Feels like just referencing `userClassPathFirst` should work?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76311341
  
      [Test build #28029 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28029/consoleFull) for   PR 4799 at commit [`94b4dfa`](https://github.com/apache/spark/commit/94b4dfaadc62182df45185e4c2d7bc7da6c1ee45).
     * This patch merges cleanly.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76326975
  
      [Test build #28037 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28037/consoleFull) for   PR 4799 at commit [`fef6c9c`](https://github.com/apache/spark/commit/fef6c9c3e5b185933c2ef6e1fa01b130bda10438).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by andrewor14 <gi...@git.apache.org>.
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4799#discussion_r25577265
  
    --- Diff: core/src/main/scala/org/apache/spark/executor/Executor.scala ---
    @@ -92,6 +92,16 @@ private[spark] class Executor(
       private val executorActor = env.actorSystem.actorOf(
         Props(new ExecutorActor(executorId)), "ExecutorActor")
     
    +  // Whether to load classes in user jars before those in Spark jars
    +  private val userClassPathFirst: Boolean = {
    +    val oldKey = "spark.files.userClassPathFirst"
    +    val newKey = "spark.executor.userClassPathFirst"
    +    if (conf.contains(oldKey)) {
    +      logWarning(s"$oldKey is deprecated. Please use $newKey instead.")
    --- End diff --
    
    Is your proposal to not log this warning, or log it on the driver side?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76507995
  
      [Test build #28104 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28104/consoleFull) for   PR 4799 at commit [`c26a9e3`](https://github.com/apache/spark/commit/c26a9e3c3f6a17ae01782278fb1d4a1426fcbdbd).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/4799


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76862763
  
    Okay - thanks everyone for helping with this. I'll pull it in.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-6048] SparkConf should not translate de...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/4799#issuecomment-76320721
  
      [Test build #28037 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28037/consoleFull) for   PR 4799 at commit [`fef6c9c`](https://github.com/apache/spark/commit/fef6c9c3e5b185933c2ef6e1fa01b130bda10438).
     * This patch merges cleanly.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org