You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nixon Rodrigues (JIRA)" <ji...@apache.org> on 2017/07/11 14:12:00 UTC
[jira] [Created] (ATLAS-1940) Atlas server fails to initialize
types on startup from graph store due to duplicate type registered.
Nixon Rodrigues created ATLAS-1940:
--------------------------------------
Summary: Atlas server fails to initialize types on startup from graph store due to duplicate type registered.
Key: ATLAS-1940
URL: https://issues.apache.org/jira/browse/ATLAS-1940
Project: Atlas
Issue Type: Bug
Components: atlas-intg
Affects Versions: 0.8-incubating
Reporter: Nixon Rodrigues
Assignee: Nixon Rodrigues
Priority: Blocker
Fix For: 0.9-incubating, 0.8.1-incubating
Types are not getting restored from typesRegistry during Atlas startup due duplicate type issue.
Below is exception trace.
{code}
2017-07-07 13:35:23,088 INFO - [main:] ~ Restoring type CLASS.Process.null (GraphBackedTypeStore:267)
2017-07-07 13:35:23,099 INFO - [main:] ~ Restoring type CLASS.falcon_process.null (GraphBackedTypeStore:267)
2017-07-07 13:35:23,122 INFO - [main:] ~ Restoring type TRAIT.Metric.Metric Trait (GraphBackedTypeStore:267)
2017-07-07 13:35:23,132 INFO - [main:] ~ Restoring type CLASS.Referenceable.null (GraphBackedTypeStore:267)
2017-07-07 13:35:23,140 INFO - [main:] ~ Restoring type CLASS.hive_storagedesc.null (GraphBackedTypeStore:267)
2017-07-07 13:35:23,203 INFO - [main:] ~ Restoring type CLASS.hive_table.null (GraphBackedTypeStore:267)
2017-07-07 13:35:23,276 INFO - [main:] ~ Restoring type CLASS.falcon_feed_creation.null (GraphBackedTypeStore:267)
2017-07-07 13:35:23,288 INFO - [main:] ~ Restoring type CLASS.sqoop_dbdatastore.null (GraphBackedTypeStore:267)
2017-07-07 13:35:23,399 INFO - [main:] ~ Number of types got from transient type system: 49 (DefaultMetadataService:168)
2017-07-07 13:35:23,406 INFO - [main:] ~ Restored type system from the store (DefaultMetadataService:161)
2017-07-07 13:35:23,407 INFO - [main:] ~ Global indexes already exist for graph (GraphBackedSearchIndexer:141)
2017-07-07 13:35:23,753 WARN - [main:] ~ Invalid constraint ownedRef for attribute hive_storagedesc.serdeInfo (AtlasTypeDefGraphStore:689)
2017-07-07 13:35:23,754 WARN - [main:] ~ Invalid constraint ownedRef for attribute hive_table.aliases (AtlasTypeDefGraphStore:689)
2017-07-07 13:35:23,759 ERROR - [main:] ~ failed to initialize types from graph store (AtlasTypeDefGraphStoreV1:77)
org.apache.atlas.exception.AtlasBaseException: Given type TaxonomyTerm already exists
at org.apache.atlas.type.AtlasTypeRegistry$AtlasTransientTypeRegistry.addTypeWithNoRefResolve(AtlasTypeRegistry.java:573)
at org.apache.atlas.type.AtlasTypeRegistry$AtlasTransientTypeRegistry.addTypesWithNoRefResolve(AtlasTypeRegistry.java:611)
at org.apache.atlas.type.AtlasTypeRegistry$AtlasTransientTypeRegistry.addTypes(AtlasTypeRegistry.java:407)
at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.init(AtlasTypeDefGraphStore.java:105)
at org.apache.atlas.repository.store.graph.v1.AtlasTypeDefGraphStoreV1.init(AtlasTypeDefGraphStoreV1.java:107)
at org.apache.atlas.repository.store.graph.v1.AtlasTypeDefGraphStoreV1.<init>(AtlasTypeDefGraphStoreV1.java:75)
at org.apache.atlas.repository.store.graph.v1.AtlasTypeDefGraphStoreV1$$EnhancerByGuice$$21ccc5be.<init>(<generated>)
at org.apache.atlas.repository.store.graph.v1.AtlasTypeDefGraphStoreV1$$EnhancerByGuice$$21ccc5be$$FastClassByGuice$$a11fb32d.newInstance(<generated>)
at com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:265)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)
at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)
at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
at com.google.inject.Guice.createInjector(Guice.java:99)
at com.google.inject.Guice.createInjector(Guice.java:84)
at org.apache.atlas.web.listeners.GuiceServletConfig.getInjector(GuiceServletConfig.java:77)
at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)