[
https://issues.apache.org/jira/browse/HBASE-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Shulman resolved HBASE-9223.
--------------------------------------
Resolution: Cannot Reproduce
> HBase ZKCli gives error because it is looking for class removed in 0.95:
> org.apache.hadoop.hbase.zookeeper.ZooKeeperMainServerArg
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-9223
> URL: https://issues.apache.org/jira/browse/HBASE-9223
> Project: HBase
> Issue Type: Bug
> Components: util, Zookeeper
> Affects Versions: 0.95.2
> Reporter: Aleksandr Shulman
>
> Observed behavior:
> Command: hbase zkcli
> There is an error message about a missing class:
> {code}[root@data-compat-3 hbase]# hbase zkcli
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/hadoop/hbase/zookeeper/ZooKeeperMainServerArg
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.hbase.zookeeper.ZooKeeperMainServerArg
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> {code}
> It looks like this class is no longer in 0.95.
> ZKCli still continues in its startup and continues working (at least reads
> continue to work)
> Expected behavior:
> HBase Zkcli should not be looking for classes that are no longer part of
> HBase. This indicates an underlying issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira