You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Aleksandr Shulman (JIRA)" <ji...@apache.org> on 2013/08/15 01:13:47 UTC

[jira] [Created] (HBASE-9223) HBase ZKCli gives error because it is looking for class removed in 0.95: org.apache.hadoop.hbase.zookeeper.ZooKeeperMainServerArg

Aleksandr Shulman created HBASE-9223:
----------------------------------------

             Summary: 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
             Fix For: 0.95.2


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