ACCUMULO-1852 - NativeMapIT on OS X
Review Request #15499 - Created Nov. 13, 2013 and discarded
Changes (possibly only initial) made to get NativeMapIT running on Mac OS X.
Ran `mvn verify` to completion, both specifically targeting NativeMapIT and running all tests. Platform is OS X 10.8.5, Java 1.6.0_65. I made the effort to keep the tests working under Java 7 as well, but I have not tried it myself; someone should attempt it (under the test source tree: mvn -Dtest=NativeMapIT -DfailIfNoTests=false clean verify).
Posted (Nov. 14, 2013, 2:24 p.m.)
This does fix NativeMapIT for me on Mavericks+Java7, although it doesn't address the `make test` issue in nativeMap itself. Still, seems like an improvement, so, ship it.
Posted (Nov. 15, 2013, 12:05 a.m.)
This is an issue because the way we find native maps is fundamentally broken in ways that limit packaging and deployment of native maps to a target system. This patch is insufficient to address all those issues. I already have a fix in progress that addresses loading libraries from standard locations in Linux or from the lib directory in ACCUMULO_HOME (for backwards-compatibility), as well as using LD_LIBRARY_PATH or -Djava.librath.path; I will still need to incorporate some modifications to ensure things work well on Mac, but this patch alone doesn't address all the relevant issues.
Review request changed
Updated (Dec. 2, 2013, 2:01 p.m.)
- changed from pending to discarded
Ticket was able to be resolved without the changes here. Might be good to keep these in mind if needed later.