[jira] [Commented] (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:comment-tabpanel=15190449#comment-15190449 ] Hemanth Yamijala commented on ATLAS-474: I verified this patch again after applying fix for ATLAS-555. Can confirm things are working fine. +1 from my end. Please note that ATLAS-474-1 .patch is the latest one. > 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 > Attachments: ATLAS-474-1.patch, rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15186690#comment-15186690 ] ATLAS QA commented on ATLAS-474: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12792192/ATLAS-474-1.patch against master revision 0defc6e. {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 22 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. +1 checkstyle. The patch generated 0 code style errors. {color:red}-1 findbugs{color}. The patch appears to introduce 332 new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in : ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.EntityJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.MetadataDiscoveryJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.RexsterGraphJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.AdminJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.TypesJerseyResourceIT Test results: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningsnotification.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningscommon.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningsclient.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningstitan.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningstypesystem.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningsrepository.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningswebapp.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningsfalcon-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningshive-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningsstorm-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//artifact/patchprocess/newPatchFindbugsWarningssqoop-bridge.html Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/57//console This message is automatically generated. > 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 > Attachments: ATLAS-474-1.patch, rb44100.patch > > > 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 >
[jira] [Commented] (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:comment-tabpanel=15185388#comment-15185388 ] David Kantor commented on ATLAS-474: [~yhemanth] Thanks very much for reviewing the latest changes. I have addressed all of your comments and updated the review request. If there are no further comments, kindly commit these changes. > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15184405#comment-15184405 ] Hemanth Yamijala commented on ATLAS-474: I have reviewed the latest changes. Thanks for the effort in making the wide change to correct the constructors everywhere. I have a very few minor comments that I've posted on review board. Don't feel very strongly about some of those - please take a judgement call as you see fit. Thanks! > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15184158#comment-15184158 ] David Kantor commented on ATLAS-474: [~yhemanth] I have addressed your comments and updated the review board request. Kindly review the latest diffs and let me know if you have additional comments. Thanks... > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15183107#comment-15183107 ] David Kantor commented on ATLAS-474: [~yhemanth] Thanks very much for reviewing the changes. I will rebase my changes with the latest from master and address your comments. I should have something for further review by tomorrow (Tues 3/8). > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15182687#comment-15182687 ] Hemanth Yamijala commented on ATLAS-474: [~dkantor], the patch needs to be rebased given ATLAS-479 has gone in. I will review it to the extent possible, but testing will require a rebased patch. Thanks! > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15179384#comment-15179384 ] Shwetha G S commented on ATLAS-474: --- [~dkantor], [~yhemanth] will review > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15179368#comment-15179368 ] Shwetha G S commented on ATLAS-474: --- Ah ok, I missed that in update. Thanks > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15178797#comment-15178797 ] David Kantor commented on ATLAS-474: [~shwethags] I have addressed your comment and uploaded the changes to https://reviews.apache.org/r/44100/ Kindly review and let me know if you have additional comments. Thanks... > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15177910#comment-15177910 ] David Kantor commented on ATLAS-474: [~shwethags] Agreed that super types should be a set in the type system, and I will make that change and re-submit. However, the type store fix is still needed, as the problem of duplicate edges from type store updates was not limited to super types. Currently, a type system update ends up duplicating all edges, including edges for attributes. The other duplicate edges are not fatal to system startup and so have existed undetected since day one. There is specific checking for duplicate super types in TypeSystem.TransientTypeSystem.validateSuperTypes() and that is what causes the server startup issue described in this bug. The type system vertices are not duplicated during an update because there is a check to prevent duplicates in GraphBackedTypeStore.createVertex(). There was no such check in GraphBackedTypeStore.addEdge(), and as result, duplicate edges were written. So I believe the existence check fix that I've added there is still needed. > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15177463#comment-15177463 ] Shwetha G S commented on ATLAS-474: --- It doesn't make sense for superTypes to be a list, it should be a set. Instead of fixing the type store, shouldn't we fix type system? > 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 > Attachments: rb44100.patch > > > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15174147#comment-15174147 ] ATLAS QA commented on ATLAS-474: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12790739/rb44100.patch against master revision 92574b5. {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. +1 checkstyle. The patch generated 0 code style errors. {color:red}-1 findbugs{color}. The patch appears to introduce 334 new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in : ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.EntityJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.MetadataDiscoveryJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.RexsterGraphJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.AdminJerseyResourceIT ./webapp/test-output/junitreports/TEST-org.apache.atlas.web.resources.TypesJerseyResourceIT ./webapp/target/failsafe-reports/junitreports/TEST-org.apache.atlas.examples.QuickStartIT Test results: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsnotification.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningscommon.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsclient.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningstitan.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningstypesystem.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsrepository.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningswebapp.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsfalcon-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningshive-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningsstorm-bridge.html Findbugs warnings: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//artifact/patchprocess/newPatchFindbugsWarningssqoop-bridge.html Console output: https://builds.apache.org/job/PreCommit-ATLAS-Build/44//console This message is automatically generated. > 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 > Attachments: rb44100.patch > > > 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 >
[jira] [Commented] (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:comment-tabpanel=15173937#comment-15173937 ] Neeru Gupta commented on ATLAS-474: --- +1 . Have reviewed the code and looks good to me. > 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.(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)
[jira] [Commented] (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:comment-tabpanel=15168123#comment-15168123 ] David Kantor commented on ATLAS-474: I have reproduced the issue in a test case and implemented a fix. Will create a review board request once testing is completed. > 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.(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)