java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex

55 views
Skip to first unread message

Kalaiyarasi Thandavarayan

unread,
Oct 25, 2020, 11:01:56 PM10/25/20
to JanusGraph users
I been trying to integrated apache atlas with janusgraph but it been giving below error. I am able to make it working on solr backend also the time and when I tried to switch to ELK backend  I get the following error. 

Thanks in advanced as I been trying to make this working for 3 days now. 

1. I did drop the hbase table to clear up 
2. following is configuration proprieties
    
atlas.graph.index.search.backend=elasticsearch





2020-10-25 22:50:18,954 DEBUG - [I/O dispatcher 13:] ~ http-outgoing-3 [ACTIVE] [content length: 530; pos: 530; completed: true] (InternalRequestExecutor:85)
2020-10-25 22:50:18,954 DEBUG - [main:] ~ request [GET http://localhost:9200/] returned [HTTP/1.1 200 OK] (RequestLogger:59)
2020-10-25 22:50:12020-10-25 22:50:18,954 DEBUG - [I/O dispatcher 13:] ~ http-outgoing-3 [ACTIVE] [content length: 530; pos: 530; completed: true] (InternalRequestExecutor:85)
2020-10-25 22:50:18,954 DEBUG - [main:] ~ request [GET http://localhost:9200/] returned [HTTP/1.1 200 OK] (RequestLogger:59)
2020-10-25 22:50:18,955 WARN  - [main:] ~ Failed to obtain graph instance on attempt 3 of 3 (AtlasGraphProvider:118)
java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex
       at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:64)
       at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:440)
       at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:427)
       at org.janusgraph.diskstorage.Backend.<init>(Backend.java:150)
       at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1359)
       at org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:146)
       at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:161)
       at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:132)
       at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:112)
       at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.initJanusGraph(AtlasJanusGraphDatabase.java:182)
       at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:169)
       at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraph(AtlasJanusGraphDatabase.java:276)
       at org.apache.atlas.repository.graph.AtlasGraphProvider.getGraphInstance(AtlasGraphProvider.java:52)
       at org.apache.atlas.repository.graph.AtlasGraphProvider.retry(AtlasGraphProvider.java:114)
       at org.apache.atlas.repository.graph.AtlasGraphProvider.get(AtlasGraphProvider.java:102)
       at org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$de43023c.CGLIB$get$0(<generated>)
       at org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$de43023c$$FastClassBySpringCGLIB$$e607602c.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$$de43023c.get(<generated>)
       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
       at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
       at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:211)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1134)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
       at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
       at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
       at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1196)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1098)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:211)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1134)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
       at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
       at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
       at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1196)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1098)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:89)
       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:245)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1041)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1015)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:471)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
       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:843)
       at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
       at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)
       at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
       at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)
       at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
       at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
       at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
       at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
       at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
       at org.eclipse.jetty.server.Server.start(Server.java:422)
       at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
       at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
       at org.eclipse.jetty.server.Server.doStart(Server.java:389)
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
       at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:98)
       at org.apache.atlas.Atlas.main(Atlas.java:133)
Caused by: java.lang.reflect.InvocationTargetException
       at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
       at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
       at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58)
       ... 97 more
Caused by: java.lang.BootstrapMethodError: bootstrap method initialization exception
       at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:288)
       at org.elasticsearch.client.RestClient.performRequest(RestClient.java:272)
       at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246)
       at org.janusgraph.diskstorage.es.rest.RestElasticSearchClient.getMajorVersion(RestElasticSearchClient.java:137)
       at org.janusgraph.diskstorage.es.rest.RestElasticSearchClient.<init>(RestElasticSearchClient.java:117)
       at org.janusgraph.diskstorage.es.rest.RestClientSetup.getElasticSearchClient(RestClientSetup.java:107)
       at org.janusgraph.diskstorage.es.rest.RestClientSetup.connect(RestClientSetup.java:75)
       at org.janusgraph.diskstorage.es.ElasticSearchSetup$1.connect(ElasticSearchSetup.java:51)
       at org.janusgraph.diskstorage.es.ElasticSearchIndex.interfaceConfiguration(ElasticSearchIndex.java:445)
       at org.janusgraph.diskstorage.es.ElasticSearchIndex.<init>(ElasticSearchIndex.java:332)
       ... 102 more
2020-10-25 22:50:18,955 INFO  - [main:] ~ Max retries exceeded. (AtlasGraphProvider:121)

8,955 WARN  - [main:] ~ Failed to obtain graph instance on attempt 3 of 3 (AtlasGraphProvider:118)
java.lang.IllegalArgumentException: Could not instantiate implementation: org.janusgraph.diskstorage.es.ElasticSearchIndex
       at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:64)
       at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:440)
       at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:427)
       at org.janusgraph.diskstorage.Backend.<init>(Backend.java:150)
       at org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1359)
       at org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:146)
       at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:161)
       at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:132)
       at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:112)
       at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.initJanusGraph(AtlasJanusGraphDatabase.java:182)
       at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:169)
       at org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraph(AtlasJanusGraphDatabase.java:276)
       at org.apache.atlas.repository.graph.AtlasGraphProvider.getGraphInstance(AtlasGraphProvider.java:52)
       at org.apache.atlas.repository.graph.AtlasGraphProvider.retry(AtlasGraphProvider.java:114)
       at org.apache.atlas.repository.graph.AtlasGraphProvider.get(AtlasGraphProvider.java:102)
       at org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$de43023c.CGLIB$get$0(<generated>)
       at org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$de43023c$$FastClassBySpringCGLIB$$e607602c.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$$de43023c.get(<generated>)
       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
       at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
       at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:211)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1134)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
       at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
       at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
       at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1196)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1098)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:211)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1134)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
       at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
       at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
       at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1196)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1098)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:89)
       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:245)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1041)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1015)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:471)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
       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:843)
       at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
       at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)
       at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
       at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)
       at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
       at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
       at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
       at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
       at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
       at org.eclipse.jetty.server.Server.start(Server.java:422)
       at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
       at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
       at org.eclipse.jetty.server.Server.doStart(Server.java:389)
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
       at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:98)
       at org.apache.atlas.Atlas.main(Atlas.java:133)
Caused by: java.lang.reflect.InvocationTargetException
       at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
       at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
       at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58)
       ... 97 more
Caused by: java.lang.BootstrapMethodError: bootstrap method initialization exception
       at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:288)
       at org.elasticsearch.client.RestClient.performRequest(RestClient.java:272)
       at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246)
       at org.janusgraph.diskstorage.es.rest.RestElasticSearchClient.getMajorVersion(RestElasticSearchClient.java:137)
       at org.janusgraph.diskstorage.es.rest.RestElasticSearchClient.<init>(RestElasticSearchClient.java:117)
       at org.janusgraph.diskstorage.es.rest.RestClientSetup.getElasticSearchClient(RestClientSetup.java:107)
       at org.janusgraph.diskstorage.es.rest.RestClientSetup.connect(RestClientSetup.java:75)
       at org.janusgraph.diskstorage.es.ElasticSearchSetup$1.connect(ElasticSearchSetup.java:51)
       at org.janusgraph.diskstorage.es.ElasticSearchIndex.interfaceConfiguration(ElasticSearchIndex.java:445)
       at org.janusgraph.diskstorage.es.ElasticSearchIndex.<init>(ElasticSearchIndex.java:332)
       ... 102 more
2020-10-25 22:50:18,955 INFO  - [main:] ~ Max retries exceeded. (AtlasGraphProvider:121)

BO XUAN LI

unread,
Oct 26, 2020, 12:23:08 AM10/26/20
to janusgra...@googlegroups.com
Looks like a version compatibility issue. What are your JanusGraph version and Elasticsearch version? Did you check if your version is supported as documented on https://docs.janusgraph.org/changelog/#version-compatibility ?
 
--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/4297b07d-f113-469e-830b-7f7c80850184n%40googlegroups.com.

Kalaiyarasi Thandavarayan

unread,
Oct 26, 2020, 2:20:47 PM10/26/20
to janusgra...@googlegroups.com
Thank you for your reply following version information 

1. Elastic version  7.9.3  OSS 
2. hbase 3.2.1 
3. zookeeper: 3.6.2 
4. apache atlas 3.0.0 
5. janusgraph-es-0.5.2.jar (0.5.2)

if I switch from elasticsearch to solr 8.6.2 it works with no issue.

I looked at the compatibility of janusgraph 0.5.2 & it is compatible with  elastic version 7.x listed blow 
JanusGraphStorage VersionCassandraHBaseBigtableElasticsearchSolrTinkerPopSparkScala
0.5.z22.1.z, 2.2.z, 3.0.z, 3.11.z1.2.z, 1.3.z, 1.4.z, 2.1.z1.3.0, 1.4.0, 1.5.z, 1.6.z, 1.7.z, 1.8.z, 1.9.z, 1.10.z, 1.11.z, 1.14.z6.y, 7.y7.y




 
    https://docs.janusgraph.org/changelog/

Please let me know if I can try any other troubleshooting effort. 

Thanks,
Kalai
 

nicolas....@gmail.com

unread,
Oct 26, 2020, 3:46:22 PM10/26/20
to JanusGraph users
hi,
are you using java 8 (as there is java.base in the stack trace, I don't think so)

Nicolas

Kalaiyarasi Thandavarayan

unread,
Oct 26, 2020, 3:53:43 PM10/26/20
to janusgra...@googlegroups.com
1. JAVA version information : 
java -version
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)

2. also additional error message on this subject  



2020-10-26 15:44:59,444 WARN  - [main:] ~ Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.event.internalEventListenerProc
essor': 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:/home/e2eadmin/atlas_with_elk_hbase/apach
e-atlas-3.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-3.0.0-SNAPSHOT.jar!/org/apache/atlas/GraphTransactionAdvisor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.Unsatisfie
dDependencyException: Error creating bean with name 'graphTransactionInterceptor' defined in URL [jar:file:/home/e2eadmin/atlas_with_elk_hbase/apache-atlas-3.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-3.0.0-SNAPSHOT.jar!/org/apache/atlas/GraphTransacti
onInterceptor.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 org.apache.atlas.repositor
y.RepositoryException: Max retries exceeded. Failed to obtain graph instance after 3 retries (AbstractApplicationContext:550)
2020-10-26 15:44:59,444 DEBUG - [main:] ~ Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@93824eb: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.an
notation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springfr
amework.context.event.internalEventListenerFactory,org.springframework.aop.config.internalAutoProxyCreator,glossaryService,searchTracker,atlasMetricsUtil,graphTransactionInterceptor,entityDiscoveryService,entityLineageService,fullTextMapperV2,graphBackedSearchIndexer,atl
asGraphProvider,userProfileService,atlasGlossaryDTO,atlasGlossaryCategoryDTO,atlasGlossaryTermDTO,atlasServerDTO,atlasAuditEntryDTO,DTORegistry,dataAccess,atlasSavedSearchDTO,atlasUserProfileDTO,exportImportAuditEntryDTO,entityAuditListenerV2,HBaseBasedAuditRepository,en
tityAuditListener,typeDefAuditListener,atlasAuditService,atlasPatchService,atlasPatchManager,atlasInstanceConverter,atlasFormatConverters,migrationProgressService,tableReplicationRequestProcessor,atlasServerService,importService,hdfsPathEntityCreator,importTransformsShap
er,exportImportAuditService,auditsWriter,exportService,dataMigrationService,entityGraphRetriever,entityStateChecker,atlasEntityStoreV2,atlasEntityChangeNotifier,entityGraphMapper,classificationAssociator,bulkImporterImpl,atlasRelationshipStoreV2,atlasTypeDefGraphStoreV2,
deleteHandlerDelegate,atlasTypeDefStoreInitializer,metricsService,graphTransactionAdvisor,atlasJsonProvider,atlasAuthenticationFilter,auditFilter,headersUtil,activeServerFilter,atlasAuthenticationEntryPoint,staleTransactionCleanupFilter,atlasCSRFPreventionFilter,ssoAuthe
nticationFilter,atlasAuthenticationSuccessHandler,atlasAuthenticationFailureHandler,atlasKeycloakAuthenticationProvider,atlasLdapAuthenticationProvider,atlasSecurityConfig,atlasPamAuthenticationProvider,atlasAuthenticationProvider,atlasFileAuthenticationProvider,atlasADA
uthenticationProvider,allExceptionMapper,notFoundExceptionMapper,atlasBaseExceptionMapper,activeInstanceState,userService,curatorFactory,activeInstanceElectorService,serviceState,userDao,typesREST,discoveryREST,relationshipREST,lineageREST,glossaryREST,entityREST,typesRe
source,dataSetLineageResource,metadataDiscoveryResource,entityResource,lineageResource,adminResource,notificationHookConsumer,notificationEntityChangeListener,entityNotificationListenerV2,graphDBGraphSONMigrator,services,commonConfiguration,embeddedKafkaServer,kafkaNotif
ication,atlasTypeRegistry,httpSessionManager,keycloakClientRequestFactory,get,org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration,objectPostProcessor,org.springframework.security.config.annotation.authentication.configuration.Aut
henticationConfiguration,authenticationManagerBuilder,enableGlobalAuthenticationAutowiredConfigurer,initializeUserDetailsBeanManagerConfigurer,initializeAuthenticationProviderBeanManagerConfigurer,org.springframework.security.config.annotation.web.configuration.WebSecuri
tyConfiguration,delegatingApplicationListener,webSecurityExpressionHandler,springSecurityFilterChain,privilegeEvaluator,autowiredWebSecurityConfigurersIgnoreParents,org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration,requestDataVa
lueProcessor,org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration,methodSecurityInterceptor,methodSecurityMetadataSource,preInvocationAuthorizationAdvice,sessionAuthenticationStrategy,adapterDeploymentContext,keycloakPreAu
thActionsFilter,keycloakSecurityContextRequestFilter,keycloakAuthenticatedActionsRequestFilter,keycloakAuthenticationProcessingFilter,metaDataSourceAdvisor,getAtlasConfig]; root of factory hierarchy (DefaultSingletonBeanRegistry:505)
2020-10-26 15:44:59,444 DEBUG - [main:] ~ Retrieved dependent beans for bean 'objectPostProcessor': [org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration] (DefaultSingletonBeanRegistry:573)
2020-10-26 15:44:59,444 DEBUG - [main:] ~ Invoking destroy() on bean with name 'objectPostProcessor' (DisposableBeanAdapter:259)
2020-10-26 15:44:59,445 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.Unsatis
fiedDependencyException: Error creating bean with name 'graphTransactionAdvisor' defined in URL [jar:file:/home/e2eadmin/atlas_with_elk_hbase/apache-atlas-3.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-3.0.0-SNAPSHOT.jar!/org/apache/atlas/GraphTransactio
nAdvisor.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:/home/e2eadmin/at
las_with_elk_hbase/apache-atlas-3.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-3.0.0-SNAPSHOT.jar!/org/apache/atlas/GraphTransactionInterceptor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframew
ork.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 org.apache.atlas.repository.RepositoryException: Max retries exceeded. Failed to obtain graph instance after 3 retries
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:477)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'graphTransactionAdvisor' defined in URL [jar:file:/home/e2eadmin/atlas_with_elk_hbase/apache-atlas-3.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-
3.0.0-SNAPSHOT.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 'graphTransactionInt
erceptor' defined in URL [jar:file:/home/e2eadmin/atlas_with_elk_hbase/apache-atlas-3.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-3.0.0-SNAPSHOT.jar!/org/apache/atlas/GraphTransactionInterceptor.class]: Unsatisfied dependency expressed through construct
or 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.springf
ramework.beans.BeanInstantiationException: Failed to instantiate [org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get' threw exception; nested exception is org.apache.atlas.repository.RepositoryException: Max retries exceeded. Failed to obtain graph inst
ance after 3 retries
       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:1196)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1098)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:89)
       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:245)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1041)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1015)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:471)
       ... 29 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'graphTransactionInterceptor' defined in URL [jar:file:/home/e2eadmin/atlas_with_elk_hbase/apache-atlas-3.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-reposit
ory-3.0.0-SNAPSHOT.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 ex
ception; nested exception is org.apache.atlas.repository.RepositoryException: Max retries exceeded. Failed to obtain graph instance after 3 retries
       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:1196)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1098)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:211)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1134)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
       at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
       at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
       ... 45 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.BeanInstan
tiationException: Failed to instantiate [org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get' threw exception; nested exception is org.apache.atlas.repository.RepositoryException: Max retries exceeded. Failed to obtain graph instance after 3 retries
       at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1176)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1071)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
       at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:211)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1134)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
       at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
       at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
       ... 59 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.atlas.repository.graphdb.AtlasGraph]: Factory method 'get' threw exception; nested exception is org.apache.atlas.repository.RepositoryException: Max retries exceeded. Faile
d to obtain graph instance after 3 retries
       at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
       at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
       ... 72 more
Caused by: org.apache.atlas.repository.RepositoryException: Max retries exceeded. Failed to obtain graph instance after 3 retries
       at org.apache.atlas.repository.graph.AtlasGraphProvider.retry(AtlasGraphProvider.java:127)
       at org.apache.atlas.repository.graph.AtlasGraphProvider.get(AtlasGraphProvider.java:102)
       at org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$de43023c.CGLIB$get$0(<generated>)
       at org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$de43023c$$FastClassBySpringCGLIB$$e607602c.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$$de43023c.get(<generated>)
       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
       at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
       ... 73 more



--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.

BO XUAN LI

unread,
Oct 27, 2020, 8:30:03 AM10/27/20
to janusgra...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages