Open oferfort opened 1 month ago
Hi, could you please share more details on your use case, and what type of paths would you use?
We are running in an environment where the default tmp folder has limited permissions. We would like to be able to control the folder the lib is extracted to, so that it can be managed, independently. Regards
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Jiaming Yuan @.> Sent: Thursday, May 30, 2024 3:08:30 PM To: dmlc/xgboost @.> Cc: oferfort @.>; Author @.> Subject: Re: [dmlc/xgboost] [jvm-packages] Allow control over path of extracted library (Issue #10302)
Hi, could you please share more details on your use case, and what type of paths would you use?
— Reply to this email directly, view it on GitHubhttps://github.com/dmlc/xgboost/issues/10302#issuecomment-2139414242, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACNEJLUYLCYSWLWDU66KYTZE4JD5AVCNFSM6AAAAABH7SEOZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGQYTIMRUGI. You are receiving this because you authored the thread.Message ID: @.***>
probably change "java.io.tmpdir" accordingly? @oferfort
There are other applications on the same JVM so we can't do that
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Bobby Wang @.> Sent: Friday, June 14, 2024 3:04:51 PM To: dmlc/xgboost @.> Cc: oferfort @.>; Mention @.> Subject: Re: [dmlc/xgboost] [jvm-packages] Allow control over path of extracted library (Issue #10302)
probably change "java.io.tmpdir" accordingly? @oferforthttps://github.com/oferfort
— Reply to this email directly, view it on GitHubhttps://github.com/dmlc/xgboost/issues/10302#issuecomment-2167878152, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACNEJP37EL4ROTWUM3WO6TZHLL6HAVCNFSM6AAAAABH7SEOZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXHA3TQMJVGI. You are receiving this because you were mentioned.Message ID: @.***>
Yeah, it's quite doable, but recently I am working on https://github.com/dmlc/xgboost/issues/10415. Will do that if no one picks this issue.
In the jvm-package, the NativeLibLoader extracts the library from the jar to the java.io.tmpdir. We prefer to be able to control that path for the xgboost library independently. Thanks!