Hey Madhan,

0.8.2 used to work for us, but now we suddenly can't launch Atlas because
of this Kryo exception.
We're running 0.8.2 with jdk1.8.0_121 and hbase-1.1.11 with jdk1.7.0_45. We
also tried deleting everything under /hbase in HDFS and deleting the znode
in zookeeper but still running into this exception. Do you know what's
wrong?

2018-04-17 17:14:45,475 ERROR - [main:] ~ Context initialization failed
(ContextLoader:350)
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.springframework.context.event.internalEventListenerProcessor':
BeanPostProcessor before instantiation of bean failed; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'graphTransactionAdvisor' defined
inngframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'graphTransactionAdvisor' defined in URL
[jar:file:/pay/atlas/apache-atlas-0.8.2/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.2.jar!/org/apache/atlas/GraphTransactionAdvisor.class]:
Unsatisfied dependency expressed through constructor parameter 0; nested
exception i
s org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'graphTransactionInterceptor' defined in URL
[jar:file:/pay/atlas/apache-atlas-0.8.2/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.2.jar!/org/apache/atlas/GraphTransactionInterceptor.class]:
Unsatisfied dependency expressed through constructor parameter 0;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'get' defined in
org.apache.atlas.repository.graph.AtlasGraphProvider: Bean instantiation
via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.atlas.repository.graphdb.Atlas
Graph]: Factory method 'get' threw exception; nested exception is
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID:
141 (AbstractApplicationContext:550)
2018-04-17 17:14:45,475 ERROR - [main:] ~ Context initialization failed
(ContextLoader:350)
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.springframework.context.event.internalEventListenerProcessor':
BeanPostProcessor before instantiation of bean failed; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'graphTransactionAdvisor' defined in
 URL
[jar:file:/pay/atlas/apache-atlas-0.8.2/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.2.jar!/org/apache/atlas/GraphTransactionAdvisor.class]:
Unsatisfied dependency expressed through constructor parameter 0; nested
exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'graphTransactionInterceptor' defined in URL
[jar:file:/pay/atlas/apache-atlas-0.8.2/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.2.jar!/org/apache/atlas/GraphTransactionInterceptor.class]:
Unsatisfied dependency expressed through constructor parameter 0; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'get' defined in
org.apache.atlas.repository.graph.AtlasGraphProvider: Bean instantiation
via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get'
threw exception; nested exception is
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID:
141
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:479)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
        at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
        at
org.apache.atlas.web.setup.KerberosAwareListener.contextInitialized(KerberosAwareListener.java:31)
        at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
        at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
        at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
        at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
        at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
        at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
        at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
        at org.eclipse.jetty.server.Server.doStart(Server.java:282)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:92)
        at org.apache.atlas.Atlas.main(Atlas.java:118)
Caused by:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'graphTransactionAdvisor' defined in URL
[jar:file:/pay/atlas/apache-atlas-0.8.2/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.2.jar!/org/apache/atlas/GraphTransactionAdvisor.class]:
Unsatisfied dependency expressed through constructor parameter 0; nested
exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'graphTransactionInterceptor' defined in URL
[jar:file:/pay/atlas/apache-atlas-0.8.2/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.2.jar!/org/apache/atlas/GraphTransactionInterceptor.class]:
Unsatisfied dependency expressed through constructor parameter 0; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'get' defined in
org.apache.atlas.repository.graph.AtlasGraphProvider: Bean instantiation
via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get'
threw exception; nested exception is
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID:
141
        at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
        at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
        at
org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:92)
        at
org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:102)
        at
org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:103)
        at
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:248)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1037)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1011)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:473)
        ... 24 more
Caused by:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'graphTransactionInterceptor' defined in URL
[jar:file:/pay/atlas/apache-atlas-0.8.2/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.2.jar!/org/apache/atlas/GraphTransactionInterceptor.class]:
Unsatisfied dependency expressed through constructor parameter 0; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'get' defined in
org.apache.atlas.repository.graph.AtlasGraphProvider: Bean instantiation
via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get'
threw exception; nested exception is
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID:
141
        at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
        at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
        at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
        at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
        at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
        ... 40 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'get' defined in
org.apache.atlas.repository.graph.AtlasGraphProvider: Bean instantiation
via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get'
threw exception; nested exception is
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID:
141
        at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
        at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
        at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
        at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
        ... 54 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.apache.atlas.repository.graphdb.AtlasGraph]: Factory
method 'get' threw exception; nested exception is
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID:
141
        at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
        at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
        ... 67 more
Caused by: com.esotericsoftware.kryo.KryoException: Encountered
unregistered class ID: 141
        at
com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:119)
        at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:656)
        at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:767)
        at
com.thinkaurelius.titan.graphdb.database.serialize.kryo.KryoSerializer.readClassAndObject(KryoSerializer.java:94)
        at
com.thinkaurelius.titan.graphdb.database.serialize.StandardSerializer.readClassAndObject(StandardSerializer.java:102)
        at
com.thinkaurelius.titan.diskstorage.configuration.backend.KCVSConfiguration.staticBuffer2Object(KCVSConfiguration.java:252)
        at
com.thinkaurelius.titan.diskstorage.configuration.backend.KCVSConfiguration.get(KCVSConfiguration.java:106)
        at
com.thinkaurelius.titan.diskstorage.configuration.BasicConfiguration.isFrozen(BasicConfiguration.java:93)
        at
com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1289)
        at
com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:93)
        at
com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:73)
        at
org.apache.atlas.repository.graphdb.titan0.Titan0GraphDatabase.getGraphInstance(Titan0GraphDatabase.java:115)
        at
org.apache.atlas.repository.graphdb.titan0.Titan0GraphDatabase.getGraph(Titan0GraphDatabase.java:171)
        at
org.apache.atlas.repository.graph.AtlasGraphProvider.getGraphInstance(AtlasGraphProvider.java:40)
        at
org.apache.atlas.repository.graph.AtlasGraphProvider.get(AtlasGraphProvider.java:71)
        at
org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$b1429ea6.CGLIB$get$0(<generated>)
        at
org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$b1429ea6$$FastClassBySpringCGLIB$$5777c1e8.invoke(<generated>)
        at
org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
        at
org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
        at
org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$b1429ea6.get(<generated>)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
        ... 68 more

Reply via email to