Skip to content
Snippets Groups Projects
Commit f05e09b4 authored by CrazyJvm's avatar CrazyJvm Committed by Reynold Xin
Browse files

use isRunningLocally rather than runningLocally

runningLocally is deprecated now

Author: CrazyJvm <crazyjvm@gmail.com>

Closes #2879 from CrazyJvm/runningLocally and squashes the following commits:

bec0b3e [CrazyJvm] use isRunningLocally rather than runningLocally
parent bae4ca3b
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ private[spark] class CacheManager(blockManager: BlockManager) extends Logging {
val computedValues = rdd.computeOrReadCheckpoint(partition, context)
// If the task is running locally, do not persist the result
if (context.runningLocally) {
if (context.isRunningLocally) {
return computedValues
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment