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

    https://github.com/apache/spark/pull/1009#discussion_r13573936
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkEnv.scala ---
    @@ -163,13 +164,20 @@ object SparkEnv extends Logging {
         def instantiateClass[T](propertyName: String, defaultClassName: 
String): T = {
           val name = conf.get(propertyName,  defaultClassName)
           val cls = Class.forName(name, true, 
Utils.getContextOrSparkClassLoader)
    -      // First try with the constructor that takes SparkConf. If we can't 
find one,
    -      // use a no-arg constructor instead.
    +      // Look for a constructor taking a SparkConf and a boolean isDriver, 
than one taking just
    --- End diff --
    
    than -> then


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to