[ https://issues.apache.org/jira/browse/ATLAS-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475788#comment-16475788 ]
Graham Wallis commented on ATLAS-2682: -------------------------------------- Hi [~lks21c], Just out of interest - what profile options did you use when you built Atlas? Cheers Graham > Atlas startup fails when configuring External HBase. > ---------------------------------------------------- > > Key: ATLAS-2682 > URL: https://issues.apache.org/jira/browse/ATLAS-2682 > Project: Atlas > Issue Type: Bug > Reporter: Kwangsik Lee > Priority: Major > > Hi, guys. > I'm trying to set Atlas with our existing Hbase which is 1.0.0. > I used Atlas-1.0.0-SNAPSHOT, but I encountered the error message with below > settings. > Can you help me out to figure out what I can fix this issue? > Thanks. > {code:java} > atlas.graph.storage.backend=hbase > atlas.graph.storage.hbase.table=apache_atlas_janus > #Hbase > #For standalone mode , specify localhost > #for distributed mode, specify zookeeper quorum here > #atlas.graph.storage.hostname=localhost > atlas.graph.storage.hostname=server:2181,server:2181,server:2181,server:2181,server:2181 > atlas.graph.storage.hbase.regions-per-server=1 > atlas.graph.storage.lock.wait-time=10000 > {code} > {code:java} > export HBASE_CONF_DIR=/home/user/hbase/conf > {code} > {code:java} > 2018-05-15 12:29:42,838 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:/home/suser/apache-atlas-1.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.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 'graphTransactionInterceptor' defined in URL > [jar:file:/home/suser/apache-atlas-1.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.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 > exception; nested exception is java.lang.IllegalArgumentException: Could not > instantiate implementation: > org.janusgraph.diskstorage.hbase.HBaseStoreManager 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: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: > org.springframework.beans.factory.UnsatisfiedDependencyException: Error > creating bean with name 'graphTransactionAdvisor' defined in URL > [jar:file:/home/suser/apache-atlas-1.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.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 'graphTransactionInterceptor' defined in URL > [jar:file:/home/suser/apache-atlas-1.0.0-SNAPSHOT/server/webapp/atlas/WEB-INF/lib/atlas-repository-1.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 > exception; nested exception is java.lang.IllegalArgumentException: Could not > instantiate implementation: > org.janusgraph.diskstorage.hbase.HBaseStoreManager 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) > > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)