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

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

merged 4 commits into from
Feb 5, 2021

Conversation

JustDoCoder
Copy link
Contributor

What changes were proposed in this pull request?

(Please fill in changes proposed in this fix)

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Setting one pmem path on AppDirect mode may cause the pmem initialization path to be empty Path
@@ -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(path_postfix, pmemInitialSize, 0)
Copy link

@winningsix winningsix Feb 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file.getAbsolutePath ?

Copy link
Contributor Author

@JustDoCoder JustDoCoder Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@winningsix Thanks for reminding, the absolute path of the object should be passed as a parameter

@yeyuqiang yeyuqiang linked an issue Feb 3, 2021 that may be closed by this pull request
@yeyuqiang
Copy link
Contributor

LGTM

@yeyuqiang yeyuqiang merged commit 0d1e009 into oap-project:master Feb 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The compiled code failed because the variable name was not changed
3 participants