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

[GitHub] spark pull request: [SPARK-7092] Update spark scala version to 2.1...

GitHub user ScrapCodes opened a pull request:

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

    [SPARK-7092] Update spark scala version to 2.11.6

    

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

    $ git pull https://github.com/ScrapCodes/spark-1 SPARK-7092/scala-update-2.11.6

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

    https://github.com/apache/spark/pull/5662.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 #5662
    
----
commit 58cf4f96f62d290cc915c47bef08bd8666f2e73c
Author: Prashant Sharma <pr...@imaginea.com>
Date:   2015-04-23T12:39:12Z

    [SPARK-7092] Update spark scala version to 2.11.6

----


---
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-7092] Update spark scala version to 2.1...

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

    https://github.com/apache/spark/pull/5662#issuecomment-95573663
  
      [Test build #30838 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30838/consoleFull) for   PR 5662 at commit [`58cf4f9`](https://github.com/apache/spark/commit/58cf4f96f62d290cc915c47bef08bd8666f2e73c).


---
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-7092] Update spark scala version to 2.1...

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

    https://github.com/apache/spark/pull/5662#issuecomment-95613732
  
      [Test build #30838 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30838/consoleFull) for   PR 5662 at commit [`58cf4f9`](https://github.com/apache/spark/commit/58cf4f96f62d290cc915c47bef08bd8666f2e73c).
     * 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-7092] Update spark scala version to 2.1...

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

    https://github.com/apache/spark/pull/5662#discussion_r29022546
  
    --- Diff: repl/scala-2.11/src/main/scala/org/apache/spark/repl/SparkIMain.scala ---
    @@ -1129,7 +1129,7 @@ class SparkIMain(@BeanProperty val factory: ScriptEngineFactory, initialSettings
     
         def apply(line: String): Result = debugging(s"""parse("$line")""")  {
           var isIncomplete = false
    -      currentRun.reporting.withIncompleteHandler((_, _) => isIncomplete = true) {
    +      currentRun.parsing.withIncompleteHandler((_, _) => isIncomplete = true) {
    --- End diff --
    
    This was the change, it corresponds to https://github.com/scala/scala/commit/64ebac245d58221814f9c9375927e3f2e7a2d4f0



---
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-7092] Update spark scala version to 2.1...

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

    https://github.com/apache/spark/pull/5662#issuecomment-95573076
  
    @pwendell Please take a look :)


---
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-7092] Update spark scala version to 2.1...

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

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


---
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-7092] Update spark scala version to 2.1...

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

    https://github.com/apache/spark/pull/5662#issuecomment-95613792
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30838/
    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-7092] Update spark scala version to 2.1...

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

    https://github.com/apache/spark/pull/5662#discussion_r29041655
  
    --- Diff: repl/scala-2.11/src/main/scala/org/apache/spark/repl/SparkIMain.scala ---
    @@ -1129,7 +1129,7 @@ class SparkIMain(@BeanProperty val factory: ScriptEngineFactory, initialSettings
     
         def apply(line: String): Result = debugging(s"""parse("$line")""")  {
           var isIncomplete = false
    -      currentRun.reporting.withIncompleteHandler((_, _) => isIncomplete = true) {
    +      currentRun.parsing.withIncompleteHandler((_, _) => isIncomplete = true) {
    --- End diff --
    
    It is harmless, if not beneficial. But this can be a stepping stone towards enabling add jars, because then we have two options 1) back port scala's version of add jars 2) port spark scala 2.10 repl's version of add jars on the fly.
    
    Without this patch such a option does not exist. I agree best thing is to patch scala/scala so that we donot have to do it. So I am working on it, with whatever time I have.


---
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-7092] Update spark scala version to 2.1...

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

    https://github.com/apache/spark/pull/5662#discussion_r28959874
  
    --- Diff: repl/scala-2.11/src/main/scala/org/apache/spark/repl/SparkIMain.scala ---
    @@ -1129,7 +1129,7 @@ class SparkIMain(@BeanProperty val factory: ScriptEngineFactory, initialSettings
     
         def apply(line: String): Result = debugging(s"""parse("$line")""")  {
           var isIncomplete = false
    -      currentRun.reporting.withIncompleteHandler((_, _) => isIncomplete = true) {
    +      currentRun.parsing.withIncompleteHandler((_, _) => isIncomplete = true) {
    --- End diff --
    
    Just curious, was this a break across maintenance releases? or is this basically not a public Scala API anyway?
    
    Are there any potential gotchas in updating? You know more than I would. I tend to favor updating as well to get fixes.


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