Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Change the variable name so that the passed parameters are correct #12

Merged
merged 4 commits into from
Feb 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/scala/org/apache/spark/storage/BlockManager.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down