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

Commit

Permalink
Change the variable name so that the passed parameters are correct (#12)
Browse files Browse the repository at this point in the history
* Create BlockManager.scala

* Update BlockManager.scala

* Update BlockManager.scala
  • Loading branch information
JustDoCoder authored Feb 5, 2021
1 parent 032cbae commit 0d1e009
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 0d1e009

Please sign in to comment.