You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hemant Kumar (Jira)" <ji...@apache.org> on 2023/09/12 20:41:00 UTC
[jira] [Updated] (HDDS-9174) Native library loader fails when system property "native.lib.tmp.dir" is not set
[ https://issues.apache.org/jira/browse/HDDS-9174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemant Kumar updated HDDS-9174:
-------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Merged
> Native library loader fails when system property "native.lib.tmp.dir" is not set
> --------------------------------------------------------------------------------
>
> Key: HDDS-9174
> URL: https://issues.apache.org/jira/browse/HDDS-9174
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Manager
> Reporter: Swaminathan Balachandran
> Assignee: Swaminathan Balachandran
> Priority: Blocker
> Labels: pull-request-available
>
> Native library loader fails when system property "native.lib.tmp.dir" is not set.
> It fails because the library is copied to "/" instead of the cwd.
>
> {code:java}
> java.io.IOException: Read-only file system
> at java.io.UnixFileSystem.createFileExclusively(Native Method)
> at java.io.File.createTempFile(File.java:2063)
> at org.apache.hadoop.hdds.utils.NativeLibraryLoader.copyResourceFromJarToTemp(NativeLibraryLoader.java:140)
> at org.apache.hadoop.hdds.utils.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:116)
> at org.apache.hadoop.hdds.utils.db.managed.ManagedSSTDumpTool.<clinit>(ManagedSSTDumpTool.java:39){code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org