You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "smengcl (via GitHub)" <gi...@apache.org> on 2023/08/10 22:17:07 UTC
[GitHub] [ozone] smengcl commented on a diff in pull request #5165: HDDS-8863. Snapdiff should read only keys with the bucket prefix
smengcl commented on code in PR #5165:
URL: https://github.com/apache/ozone/pull/5165#discussion_r1290732859
##########
hadoop-hdds/rocks-native/src/main/java/org/apache/hadoop/hdds/utils/NativeLibraryLoader.java:
##########
@@ -139,7 +139,7 @@ private Optional<File> copyResourceFromJarToTemp(final String libraryName)
// create a temporary file to copy the library to
final File temp = File.createTempFile(libraryName, getLibOsSuffix(),
new File(Optional.ofNullable(System.getProperty(NATIVE_LIB_TMP_DIR))
- .orElse("")));
+ .orElse("")).getAbsoluteFile());
Review Comment:
Was it causing problem without `getAbsoluteFile()`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org