Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
trunk
-
None
-
None
-
sandbox
Description
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":
,"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":
,"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)
Attachments
Attachments
Issue Links
- links to