Github user suyanNone commented on the pull request: https://github.com/apache/spark/pull/4886#issuecomment-93885511 @srowen I forgot to update desc, already refine if program go here `if (!putLevel.useMemory) {`, means put a disk level block, or memory_and_disk level block which put in memory is failed and try to put in disk(which `putLevel.useMemory` is false, and block `level.useMemory` is true). I not sure is reasonable to put twice in a short time. ``` if (!putLevel.useMemory) { /* * This RDD is not to be cached in memory, so we can just pass the computed values as an * iterator directly to the BlockManager rather than first fully unrolling it in memory. */ updatedBlocks ++= blockManager.putIterator(key, values, level, tellMaster = true, effectiveStorageLevel) blockManager.getLocal(key, !level.useMemory) match { case Some(v) => v.data.asInstanceOf[Iterator[T]] ```
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org