You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ayub Pathan (JIRA)" <ji...@apache.org> on 2017/04/28 10:48:04 UTC
[jira] [Updated] (ATLAS-1758) Data model registration fails because
order keyword is used in the model.json files.
[ https://issues.apache.org/jira/browse/ATLAS-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayub Pathan updated ATLAS-1758:
-------------------------------
Request participants: (was: )
> Data model registration fails because order keyword is used in the model.json files.
> ------------------------------------------------------------------------------------
>
> Key: ATLAS-1758
> URL: https://issues.apache.org/jira/browse/ATLAS-1758
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 0.8-incubating
> Reporter: Ayub Pathan
> Priority: Blocker
> Fix For: trunk, 0.8-incubating
>
>
> Data model registration fails with below error. The issue is introduced as part of ATLAS-1744.
> {noformat}
> 2017-04-28 09:33:45,229 ERROR - [main:] ~ error while registering types in file /grid/0/hdp/2.6.1.0-36/atlas/models/0030-hive_model.json (AtlasTypeDefStoreInitializer:103)
> org.apache.atlas.exception.AtlasBaseException: order: invalid name. Attribute name must not contain query keywords
> at org.apache.atlas.repository.store.graph.v1.AtlasAbstractDefStoreV1.validateType(AtlasAbstractDefStoreV1.java:62)
> at org.apache.atlas.repository.store.graph.v1.AtlasStructDefStoreV1.preCreate(AtlasStructDefStoreV1.java:67)
> at org.apache.atlas.repository.store.graph.v1.AtlasStructDefStoreV1.preCreate(AtlasStructDefStoreV1.java:54)
> at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.addToGraphStore(AtlasTypeDefGraphStore.java:725)
> at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.createUpdateTypesDef(AtlasTypeDefGraphStore.java:332)
> at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:51)
> at org.apache.atlas.repository.store.bootstrap.AtlasTypeDefStoreInitializer.initializeStore(AtlasTypeDefStoreInitializer.java:95)
> at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.bootstrapTypes(AtlasTypeDefGraphStore.java:581)
> at org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore.init(AtlasTypeDefGraphStore.java:112)
> 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 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)
> at org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:142)
> at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
> at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
> at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
> at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
> at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
> at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
> at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
> at org.eclipse.jetty.server.Server.start(Server.java:387)
> at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
> at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
> at org.eclipse.jetty.server.Server.doStart(Server.java:354)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:95)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)