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

[GitHub] spark pull request: [SPARK-5933] [core] Move config deprecation wa...

GitHub user vanzin opened a pull request:

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

    [SPARK-5933] [core] Move config deprecation warnings to SparkConf.

    I didn't find many deprecated configs after a grep-based search,
    but the ones I could find were moved to the centralized location
    in SparkConf.
    
    While there, I deprecated a couple more HS configs that mentioned
    time units.

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

    $ git pull https://github.com/vanzin/spark SPARK-5933

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

    https://github.com/apache/spark/pull/5562.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 #5562
    
----
commit dcb617e7d1f282df82d2078bbbe31d37adef51e7
Author: Marcelo Vanzin <va...@cloudera.com>
Date:   2015-04-17T20:17:43Z

    [SPARK-5933] [core] Move config deprecation warnings to SparkConf.
    
    I didn't find many deprecated configs after a grep-based search,
    but the ones I could find were moved to the centralized location
    in SparkConf.
    
    While there, I deprecated a couple more HS configs that mentioned
    time units.

----


---
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-5933] [core] Move config deprecation wa...

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

    https://github.com/apache/spark/pull/5562#discussion_r28640367
  
    --- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala ---
    @@ -373,14 +373,7 @@ private[spark] class ApplicationMaster(
       private def waitForSparkContextInitialized(): SparkContext = {
         logInfo("Waiting for spark context initialization")
         sparkContextRef.synchronized {
    -      val waitTries = sparkConf.getOption("spark.yarn.applicationMaster.waitTries")
    -        .map(_.toLong * 10000L)
    -      if (waitTries.isDefined) {
    -        logWarning(
    -          "spark.yarn.applicationMaster.waitTries is deprecated, use spark.yarn.am.waitTime")
    -      }
    -      val totalWaitTime = sparkConf.getTimeAsMs("spark.yarn.am.waitTime", 
    -        s"${waitTries.getOrElse(100000L)}ms")
    +      val totalWaitTime = sparkConf.getTimeAsMs("spark.yarn.am.waitTime", "100s")
    --- End diff --
    
    Nice! This looks great


---
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-5933] [core] Move config deprecation wa...

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

    https://github.com/apache/spark/pull/5562#issuecomment-94075701
  
      [Test build #30500 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30500/consoleFull) for   PR 5562 at commit [`dcb617e`](https://github.com/apache/spark/commit/dcb617e7d1f282df82d2078bbbe31d37adef51e7).


---
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-5933] [core] Move config deprecation wa...

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

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


---
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-5933] [core] Move config deprecation wa...

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

    https://github.com/apache/spark/pull/5562#issuecomment-94091263
  
      [Test build #30500 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30500/consoleFull) for   PR 5562 at commit [`dcb617e`](https://github.com/apache/spark/commit/dcb617e7d1f282df82d2078bbbe31d37adef51e7).
     * This patch **passes all tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.
     * This patch does not change any dependencies.


---
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-5933] [core] Move config deprecation wa...

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

    https://github.com/apache/spark/pull/5562#issuecomment-94074791
  
    If anyone knows of other deprecated configs that I missed, and there are probably a few, let me know and I'll add them to this PR.


---
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-5933] [core] Move config deprecation wa...

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

    https://github.com/apache/spark/pull/5562#issuecomment-94113867
  
    @vanzin LGTM thanks for picking this up from my wishlist. Merging into master.


---
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-5933] [core] Move config deprecation wa...

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

    https://github.com/apache/spark/pull/5562#issuecomment-94091270
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30500/
    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