soma-cepel opened a new issue #12376:
URL: https://github.com/apache/arrow/issues/12376
I got this error when I tried to run a simple Java program that uses the
**Dataset API** available in version 7.0.0.
The error occurred when trying to get a NativeMemoryPool using the
getDefault() method.
```java
. . .
NativeMemoryPool nativeMemoryPool = NativeMemoryPool.getDefault();
FileSystemDatasetFactory factory = new FileSystemDatasetFactory(
new RootAllocator(Long.MAX_VALUE), nativeMemoryPool,
FileFormat.PARQUET, uri);
. . .
```
By the way, I installed all the binary libraries for my platform using the
instructions available at https://arrow.apache.org/install/ and correctly
assigned the property `java.library.path` in my Java Program. The fact is that
the library `libarrow_dataset_jni.dylib` was not actually installed even though
`libarrow_dataset.700.dylib` and several others were installed with the
respective symlinks.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]