Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4084

Atlas-503 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0
    • 2.1.0
    • atlas-webui
    • None
    • Test

    Description

      Hi Team,

      I have installed/configured atlas with embedded cassandra and solr by using official website:

      https://atlas.apache.org/1.1.0/InstallationSteps.html

       

      when i start the atlas it is showing started in terminal but when i hit the url in webb browser or curl the url is terminal i am getting below error

      HTTP ERROR: 503
      Problem accessing /. Reason:

       Service Unavailable

      when i check the logs i found below error in application.log:

      ERROR - [main:] ~ cassandra.jmx.local.port missing from cassandra-env.sh, unable to start local JMX service.null (CassandraDaemon:87)
      2020-12-15 12:49:12,771 ERROR - [main:] ~ Directory /root/apache-atlas-sources-2.1.0/distro/target/apache-atlas-2.1.0-bin/apache-atlas-2.1.0/data/cassandra/data doesn't exist (CassandraDaemon:258)
      2020-12-15 12:49:12,774 ERROR - [main:] ~ Directory /root/apache-atlas-sources-2.1.0/distro/target/apache-atlas-2.1.0-bin/apache-atlas-2.1.0/data/cassandra/commitlog doesn't exist (CassandraDaemon:258)
      2020-12-15 12:49:12,774 ERROR - [main:] ~ Directory /root/apache-atlas-sources-2.1.0/distro/target/apache-atlas-2.1.0-bin/apache-atlas-2.1.0/data/cassandra/saved_caches doesn't exist (CassandraDaemon:258)
      2020-12-15 12:49:14,982 WARN - [main:] ~ No host ID found, created 96f3a962-f1b0-4928-9304-8225af3af649 (Note: This should happen exactly once per node). (SystemKeyspace:745)

       

       

      when i check atlas.20201215.out i found below errors:

      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 java.lang.NoClassDefFoundError: org/apache/cassandra/dht/RandomPartitioner$BigIntegerToken
      at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1178)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1072)
      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:208)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1136)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064)
      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 java.lang.NoClassDefFoundError: org/apache/cassandra/dht/RandomPartitioner$BigIntegerToken
      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: java.lang.NoClassDefFoundError: org/apache/cassandra/dht/RandomPartitioner$BigIntegerToken
      at org.janusgraph.diskstorage.cassandra.embedded.CassandraEmbeddedStoreManager.openDatabase(CassandraEmbeddedStoreManager.java:141)
      at org.janusgraph.diskstorage.keycolumnvalue.KeyColumnValueStoreManager.openDatabase(KeyColumnValueStoreManager.java:43)
      at org.janusgraph.diskstorage.configuration.backend.builder.KCVSConfigurationBuilder.buildStandaloneGlobalConfiguration(KCVSConfigurationBuilder.java:48)
      at org.janusgraph.diskstorage.configuration.builder.ReadConfigurationBuilder.buildGlobalConfiguration(ReadConfigurationBuilder.java:60)
      at org.janusgraph.graphdb.configuration.builder.GraphDatabaseConfigurationBuilder.build(GraphDatabaseConfigurationBuilder.java:53)
      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.get(AtlasGraphProvider.java:98)
      at org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$ac9fa940.CGLIB$get$1(<generated>)
      at org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$ac9fa940$$FastClassBySpringCGLIB$$5004ad3d.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$$ac9fa940.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
      Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.dht.RandomPartitioner$BigIntegerToken
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
      ... 96 more

       

       

       

      Please assist me

      Attachments

        Activity

          People

            Unassigned Unassigned
            vijay251 vijay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: