example:
in BigDataMemAllocator.java
static {
try {
NativeLibraryLoader.loadFromJar("bigdatamem");
} catch (Exception e) {
System.exit(-1);
}
}
We should have log here. IMO, we should not use System.exit in this module. Otherwise, other user system will shutdown unknowingly. We should have mechanism to let user application know about the issue, rather than silently shutting down.