Description
Currently we do the following to load native libraries:
1) Ask parent class loader (normally it is app class loader) to load org.apache.hadoop.util.NativeCodeLoader class. It will force loading of relevant Hadoop native libraries.
2) Then hack into parent class loader internals, find loaded library, and wire it up to current classloader.
This approach will not work any more because parent classloader normally will not have Hadoop in classpath.
We should provide alternative solution.