hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imran M Yousuf <imyou...@gmail.com>
Subject NoClassDefFoundError on Widnows+Cygwin
Date Thu, 10 Nov 2011 03:31:14 GMT
Hi,

We are trying to connect to HBase server and getting a
NoClassDefFoundError. The environment specification is -
Windows 7 x64
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
Rhino: 2.2.0.7
CYGWIN_NT-6.1-WOW64 (version 2.378)
HBase 0.90.2
Hadoop 0.20(-append-r1056497)

And the exception is -

Exception occurred in target VM: Could not initialize class $Proxy25
java.lang.NoClassDefFoundError: Could not initialize class $Proxy25
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
          at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:588)
          at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:415)
          at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:393)
          at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:444)
          at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:349)
          at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(HConnectionManager.java:965)
          at org.apache.hadoop.hbase.catalog.CatalogTracker.getCachedConnection(CatalogTracker.java:386)
          at org.apache.hadoop.hbase.catalog.CatalogTracker.getRootServerConnection(CatalogTracker.java:245)
          at org.apache.hadoop.hbase.catalog.CatalogTracker.getMetaServerConnection(CatalogTracker.java:277)
          at org.apache.hadoop.hbase.catalog.CatalogTracker.waitForMeta(CatalogTracker.java:326)
          at org.apache.hadoop.hbase.catalog.CatalogTracker.waitForMetaServerConnectionDefault(CatalogTracker.java:364)
          at org.apache.hadoop.hbase.catalog.MetaReader.tableExists(MetaReader.java:427)
          at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:160)
          at com.smartitengineering.dao.hbase.ddl.HBaseTableGenerator.generateTables(HBaseTableGenerator.java:61)
          at com.syrei.services.syreitas.Services$1.run(Services.java:47)
          at java.lang.Thread.run(Thread.java:662)

We also noticed that it runs perfectly from Linux environment. Is this
a known issue or expected behavior?

Thank you,

-- 
Imran M Yousuf
Twitter: @imyousuf - http://twitter.com/imyousuf
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557

Mime
View raw message