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

    https://github.com/apache/spark/pull/4864#discussion_r25658434
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/tree/model/DecisionTreeModel.scala 
---
    @@ -187,6 +188,25 @@ object DecisionTreeModel extends 
Loader[DecisionTreeModel] {
           val sqlContext = new SQLContext(sc)
           import sqlContext.implicits._
     
    +      // SPARK-6120: We do a hacky check here so users understand why 
save() is failing
    +      //             when they run the ML guide example.
    +      // TODO: Fix this issue for real.
    +      val driverMemory = sc.getConf.getOption("spark.driver.memory")
    --- End diff --
    
    Move this into the the `if (sc.isLocal)` branch.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to