From 1eed52852f38bcc7333551d5f923433427fada03 Mon Sep 17 00:00:00 2001 From: "Mateusz \"Serafin\" Gajewski" Date: Thu, 8 Aug 2024 09:13:23 +0200 Subject: [PATCH] Add system properties to README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 0d435134..d90a90a8 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,13 @@ that have Hadoop dependencies, each algorithm also provides a `CompressionCodec` This library requires a Java 22+ virtual machine containing the `sun.misc.Unsafe` interface running on a little endian platform. +# Configuration + +Temporary directory used to unpack and load native libraries can be configured using the `aircompressor.tmpdir` system property, +with a default value of `java.io.tmpdir`. This is useful when the default temporary directory is mounted as `noexec`. + +Loading of native libraries can be disabled entirely by setting the `io.airlift.compress.v2.disable-native` system property. + # Users This library is used in projects such as Trino (https://trino.io), a distributed SQL engine.