diff --git a/src/main/scala/org/apache/spark/storage/BlockManager.scala b/src/main/scala/org/apache/spark/storage/BlockManager.scala index 93c0780c..81e7047d 100644 --- a/src/main/scala/org/apache/spark/storage/BlockManager.scala +++ b/src/main/scala/org/apache/spark/storage/BlockManager.scala @@ -210,8 +210,8 @@ private[spark] class BlockManager( } require(file.isDirectory(), "PMem directory is required for initialization") - PersistentMemoryPlatform.initialize(initPath, pmemInitialSize, 0) - logInfo(s"Intel Optane PMem initialized with path: ${initPath}, size: ${pmemInitialSize} ") + PersistentMemoryPlatform.initialize(file.getAbsolutePath, pmemInitialSize, 0) + logInfo(s"Intel Optane PMem initialized with path: ${file.getAbsolutePath}, size: ${pmemInitialSize} ") } } else if (pmemMode.equals("KMemDax")) { if (!isDriver) {