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

    https://github.com/apache/spark/pull/4347#discussion_r24053119
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/tree/RandomForest.scala ---
    @@ -244,7 +245,10 @@ private class RandomForest (
     
         // Delete any remaining checkpoints used for node Id cache.
         if (nodeIdCache.nonEmpty) {
    -      nodeIdCache.get.deleteAllCheckpoints()
    +      Try(nodeIdCache.get.deleteAllCheckpoints()) match {
    +        case Failure(e) => logWarning(s"delete all chackpoints faild. 
Error reason: ${e.getMessage}")
    --- End diff --
    
    This has a typo ("faild"). Are you sure you want to continue in this case?


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