You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "David Kantor (JIRA)" <ji...@apache.org> on 2016/02/24 20:00:20 UTC

[jira] [Assigned] (ATLAS-474) Server does not start if the type is updated with same super type class information

     [ https://issues.apache.org/jira/browse/ATLAS-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Kantor reassigned ATLAS-474:
----------------------------------

    Assignee: David Kantor

> Server does not start if the type is updated with same super type class information
> -----------------------------------------------------------------------------------
>
>                 Key: ATLAS-474
>                 URL: https://issues.apache.org/jira/browse/ATLAS-474
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: trunk
>         Environment: sandbox
>            Reporter: Chethana
>            Assignee: David Kantor
>            Priority: Blocker
>
> Create a class with a superType class.
> Use update API and do not change the request used.
> Restart atlas server 
> Fails with exception
> K":1},"pattern":"static","timestamp":"1454921806183"} stored data: {"version":1,"subscription":{"ATLAS_HOOK":1},"pattern":"static","timestamp":"1454921372384"} (ZkUtils$:68)
> 2016-02-09 00:00:02,149 INFO  - [ZkClient-EventThread-91-localhost:9026:] ~ I wrote this conflicted ephemeral node [{"version":1,"subscription":{"ATLAS_HOOK":1},"pattern":"static","timestamp":"1454921806183"}] at /consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 a while back in a different session, hence I will backoff for this node to be deleted by Zookeeper and retry (ZkUtils$:68)
> 2016-02-09 00:00:02,554 INFO  - [ProcessThread(sid:0 cport:-1)::] ~ Got user-level KeeperException when processing sessionid:0x152a1b9238e0051 type:create cxid:0x3f0bf zxid:0x1c0ec txntype:-1 reqpath:n/a Error Path:/consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 Error:KeeperErrorCode = NodeExists for /consumers/atlas/ids/atlas_Chethanas-MBP.local-1454412213224-de1ce8e6 (PrepRequest...skipping...
>         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:88)
>         at org.apache.atlas.Atlas.main(Atlas.java:107)
> Caused by: java.lang.RuntimeException: org.apache.atlas.AtlasException: Type classa3ozcd7yra extends superType superClassa3ozcd7yra multiple times
>         at org.apache.atlas.services.DefaultMetadataService.restoreTypeSystem(DefaultMetadataService.java:113)
>         at org.apache.atlas.services.DefaultMetadataService.<init>(DefaultMetadataService.java:100)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>         at com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:86)
>         at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)