atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-33) Atlas restart fails
Date Mon, 22 Jun 2015 08:27:00 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595492#comment-14595492
] 

Suma Shivaprasad commented on ATLAS-33:
---------------------------------------

+1

> Atlas restart fails
> -------------------
>
>                 Key: ATLAS-33
>                 URL: https://issues.apache.org/jira/browse/ATLAS-33
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>             Fix For: trunk
>
>         Attachments: ATLAS-33.patch
>
>
> {code}
> 2015-06-20 07:33:19,494 ERROR - [main:] ~ Failed startup of context org.mortbay.jetty.webapp.WebAppContext@5b7cb3e0{/,/var/lib/atlas/server/webapp/atlas}
(log:87)
> com.google.inject.CreationException: Unable to create injector, see the following errors:
> 1) Error injecting constructor, java.lang.IllegalArgumentException: Comparison method
violates its general contract!
>   at org.apache.atlas.services.DefaultMetadataService.<init>(DefaultMetadataService.java:84)
>   at org.apache.atlas.services.DefaultMetadataService.class(DefaultMetadataService.java:73)
>   while locating org.apache.atlas.services.DefaultMetadataService
>   at org.apache.atlas.RepositoryMetadataModule.configure(RepositoryMetadataModule.java:65)
>   while locating org.apache.atlas.services.MetadataService
> 1 error
>         at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:466)
>         at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184)
>         at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
>         at com.google.inject.Guice.createInjector(Guice.java:96)
>         at com.google.inject.Guice.createInjector(Guice.java:73)
>         at com.google.inject.Guice.createInjector(Guice.java:62)
>         at org.apache.atlas.web.listeners.GuiceServletConfig.getInjector(GuiceServletConfig.java:60)
>         at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
>         at org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:99)
>         at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
>         at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
>         at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
>         at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
>         at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>         at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>         at org.mortbay.jetty.Server.doStart(Server.java:224)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>         at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:79)
>         at org.apache.atlas.Main.main(Main.java:83)
> Caused by: java.lang.IllegalArgumentException: Comparison method violates its general
contract!
>         at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:714)
>         at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451)
>         at java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:392)
>         at java.util.ComparableTimSort.sort(ComparableTimSort.java:191)
>         at java.util.ComparableTimSort.sort(ComparableTimSort.java:146)
>         at java.util.Arrays.sort(Arrays.java:472)
>         at java.util.Collections.sort(Collections.java:155)
>         at org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.step3(TypeSystem.java:507)
>         at org.apache.atlas.typesystem.types.TypeSystem$TransientTypeSystem.defineTypes(TypeSystem.java:547)
>         at org.apache.atlas.typesystem.types.TypeSystem.defineTypes(TypeSystem.java:249)
>         at org.apache.atlas.typesystem.types.TypeSystem.defineTypes(TypeSystem.java:241)
>         at org.apache.atlas.services.DefaultMetadataService.restoreTypeSystem(DefaultMetadataService.java:97)
>         at org.apache.atlas.services.DefaultMetadataService.<init>(DefaultMetadataService.java:90)
>         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)
>         at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
>         at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>         at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
>         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
>         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:1103)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>         at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
>         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:1092)
>         at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)
>         at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)
>         ... 18 more
> 2015-06-20 07:33:19,507 INFO  - [main:] ~ Started SocketConnector@0.0.0.0:21000 (log:67)
> {code}



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

Mime
View raw message