[ https://issues.apache.org/jira/browse/ATLAS-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136314#comment-17136314 ]
yangchengkai commented on ATLAS-3166: ------------------------------------- This seems to be some solr and zookeeper compatible problems.I solve this problem by update my solr to 8.5.2 and my zookeeper to 3.5.8. [incompatibility-between-solr-7-7-1-web-admin-and-zookeeper-3-5-5|https://stackoverflow.com/questions/56786300/incompatibility-between-solr-7-7-1-web-admin-and-zookeeper-3-5-5] > Exception while starting Atlas with hbase > ----------------------------------------- > > Key: ATLAS-3166 > URL: https://issues.apache.org/jira/browse/ATLAS-3166 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 2.0.0 > Environment: dev > Reporter: Chaitra Rao > Priority: Critical > > When I try to start Atlas (2.0.0-SNAPSHOT), I get the following error - > > > 2019-04-24 18:54:34,637 INFO - [main:] ~ Server starting with TLS ? false on > port 21000 (Atlas:217) > 2019-04-24 18:54:34,637 INFO - [main:] ~ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > (Atlas:218) > 2019-04-24 18:54:35,259 INFO - [main:] ~ No authentication method > configured. Defaulting to simple authentication (LoginProcessor:102) > 2019-04-24 18:54:35,399 WARN - [main:] ~ Unable to load native-hadoop > library for your platform... using builtin-java classes where applicable > (NativeCodeLoader:60) > 2019-04-24 18:54:35,433 INFO - [main:] ~ Logged in user root (auth:SIMPLE) > (LoginProcessor:77) > 2019-04-24 18:54:35,970 INFO - [main:] ~ Not running setup per configuration > atlas.server.run.setup.on.start. (SetupSteps$SetupRequired:189) > 2019-04-24 18:54:48,714 WARN - [main:] ~ > org.apache.solr.client.solrj.impl.Krb5HttpClientBuilder is configured without > specifying system property 'java.security.auth.login.config' > (Krb5HttpClientBuilder:142) > 2019-04-24 18:54:48,950 INFO - [main:] ~ Failed to obtain graph instance, > retrying 3 times, error: java.lang.IllegalArgumentException: Could not > instantiate implementation: org.janusgraph.diskstorage.solr.Solr6Index > (AtlasGraphProvider:100) > 2019-04-24 18:55:19,029 WARN - [main:] ~ > org.apache.solr.client.solrj.impl.Krb5HttpClientBuilder is configured without > specifying system property 'java.security.auth.login.config' > (Krb5HttpClientBuilder:142) > 2019-04-24 18:55:19,035 WARN - [main:] ~ Failed to obtain graph instance on > attempt 1 of 3 (AtlasGraphProvider:118) > java.lang.IllegalArgumentException: Could not instantiate implementation: > org.janusgraph.diskstorage.solr.Solr6Index > at > org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:64) > at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:476) > at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:463) > at org.janusgraph.diskstorage.Backend.<init>(Backend.java:148) > at > org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1840) > at > org.janusgraph.graphdb.database.StandardJanusGraph.<init>(StandardJanusGraph.java:138) > at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160) > at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131) > at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:111) > at > org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:165) > at > org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraph(AtlasJanusGraphDatabase.java:263) > 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$$375c3cc3.CGLIB$get$1(<generated>) > at > org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$375c3cc3$$FastClassBySpringCGLIB$$86ea7f4c.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$$375c3cc3.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) > at > org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1181) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1075) > 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: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: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) > at > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1103) > 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: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: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) > at > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1201) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1103) > 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: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: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:1045) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:1019) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:473) > 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:761) > at > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) > 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 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58) > ... 96 more > Caused by: org.apache.solr.common.SolrException: Cannot connect to cluster at > localhost:2181: cluster not found/not ready > at > org.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:385) > at > org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider.connect(ZkClientClusterStateProvider.java:141) > at > org.apache.solr.client.solrj.impl.CloudSolrClient.connect(CloudSolrClient.java:383) > at org.janusgraph.diskstorage.solr.Solr6Index.<init>(Solr6Index.java:218) > ... 101 more -- This message was sent by Atlassian Jira (v8.3.4#803005)