accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles King (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1457) Java ClassDef
Date Thu, 23 May 2013 15:31:20 GMT
Charles King created ACCUMULO-1457:
--------------------------------------

             Summary: Java ClassDef 
                 Key: ACCUMULO-1457
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1457
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.4.3
         Environment: Accumulo 1.4.3, Storm 0.8.2, Zookeeper 3.3.3
            Reporter: Charles King


When trying to connect to a Zookeeper instance through a Storm Bolt, we are getting the following
error -

java.lang.IncompatibleClassChangeError: Implementing class
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	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)
	at org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:154)
	at org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:129)
	at org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:124)
	at org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:106)
	at org.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:72)
	at org.apache.accumulo.core.client.impl.ConnectorImpl.(ConnectorImpl.java:75)
	at org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:218)
	at com.tucsonembedded.c4isr.ist.dal.UCDConnectorProvider.get(UCDConnectorProvider.java:41)
	at com.tucsonembedded.c4isr.ist.dal.UCDConnectorProvider.get(UCDConnectorProvider.java:18)
	at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
	at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
	at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
	at com.tucsonembedded.c4isr.rtaap.storm.bolt.CustomIndexingBolt.prepare(CustomIndexingBolt.java:38)
	at backtype.storm.daemon.executor$fn__4050$fn__4059.invoke(executor.clj:610)
	at backtype.storm.util$async_loop$fn__465.invoke(util.clj:375)
	at clojure.lang.AFn.run(AFn.java:24)
	at java.lang.Thread.run(Thread.java:662)


This can be traced back to trying to get an instance of Zookeeper-

 Connector conn = new ZooKeeperInstance(instance, zookeepers).getConnector(username, password.getBytes());

This method used to work fine on Cloudbase, but fails with the switch to Accumulo.

--
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

Mime
View raw message