spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srowen <...@git.apache.org>
Subject [GitHub] spark issue #17982: [SPARK-20395][BUILD] Update Scala to 2.11.11 and zinc to...
Date Mon, 15 May 2017 17:03:30 GMT
Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/17982
  
    Yeah, this was always a bit of a hack as this isn't an API. `createInterpreter` sounds
like a promising place to hook into for now as it exists across these versions, and would
mean Spark is initted a little earlier, before instead of after this middle block in here:
    
    ```
      def process(settings: Settings): Boolean = savingContextLoader {
        this.settings = settings
        createInterpreter()
    
        // sets in to some kind of reader depending on environmental cues
        in = in0.fold(chooseReader(settings))(r => SimpleReader(r, out, interactive = true))
        globalFuture = future {
          intp.initializeSynchronous()
          loopPostInit()
          !intp.reporter.hasErrors
        }
        loadFiles(settings)
        printWelcome()
    ...
    ```


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


Mime
View raw message