Description
$ hive -e "show tables;" OK table1 table2 table3 Time taken: 0.694 seconds, Fetched: 3 row(s) classLoader = java.net.URLClassLoader@29978933 SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@4b7d03c5
Observe the last two lines that are printed upon the end of Hive CLI session.
JavaUtils#closeClassLoader uses reflection to invoke sun.misc.ClassLoaderUtil.releaseLoader. Just peeking at the implementation of this method clearly showed this:
System.out.println ("classLoader = " + classLoader); System.out.println ("SharedSecrets.getJavaNetAccess()="+SharedSecrets.getJavaNetAccess());
See line 80-81 at http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/sun/misc/ClassLoaderUtil.java.
Attachments
Attachments
Issue Links
- links to