aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Erb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AURORA-1513) Missing TaskConfigTypeHandler
Date Wed, 07 Oct 2015 09:05:27 GMT

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

Stephan Erb updated AURORA-1513:
--------------------------------
    Summary: Missing TaskConfigTypeHandler  (was: Aurora master is broken due to missing TaskConfigTypeHandler)

> Missing TaskConfigTypeHandler
> -----------------------------
>
>                 Key: AURORA-1513
>                 URL: https://issues.apache.org/jira/browse/AURORA-1513
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Stephan Erb
>            Priority: Critical
>
> The Aurora bootstrapped in the vagrant environment does not come up and the log file
in /var/log/upstart/aurora-scheduler.log contains:
> {code}
> Oct 07, 2015 8:45:59 AM com.google.inject.internal.ProxyFactory <init>
> WARNING: Method [public java.lang.Iterable org.apache.aurora.scheduler.storage.db.DbTaskStore.fetchTasks(org.apache.aurora.scheduler.base.Query$Builder)]
is synthetic and is being intercepted by [org.apache.aurora.common.inject.TimedInterceptor@ccd1bc3].
This could indicate a bug.  The method may be intercepted twice, or may not be intercepted
at all.
> Oct 07, 2015 8:45:59 AM com.google.inject.internal.ProxyFactory <init>
> WARNING: Method [public java.util.Set org.apache.aurora.scheduler.storage.db.DbTaskStore.getJobKeys()]
is synthetic and is being intercepted by [org.apache.aurora.common.inject.TimedInterceptor@ccd1bc3].
This could indicate a bug.  The method may be intercepted twice, or may not be intercepted
at all.
> Oct 07, 2015 8:45:59 AM com.google.inject.internal.ProxyFactory <init>
> WARNING: Method [public void org.apache.aurora.scheduler.storage.log.SnapshotStoreImpl.applySnapshot(java.lang.Object)]
is synthetic and is being intercepted by [org.apache.aurora.common.inject.TimedInterceptor@ccd1bc3].
This could indicate a bug.  The method may be intercepted twice, or may not be intercepted
at all.
> Oct 07, 2015 8:45:59 AM com.google.inject.internal.ProxyFactory <init>
> WARNING: Method [public java.lang.Object org.apache.aurora.scheduler.storage.log.SnapshotStoreImpl.createSnapshot()]
is synthetic and is being intercepted by [org.apache.aurora.common.inject.TimedInterceptor@ccd1bc3].
This could indicate a bug.  The method may be intercepted twice, or may not be intercepted
at all.
> Oct 07, 2015 8:46:04 AM org.apache.aurora.scheduler.app.SchedulerMain$1 uncaughtException
> SEVERE: Uncaught exception from Thread[main,5,main]:com.google.inject.CreationException:
Guice creation errors:
> 1) An error occurred while building the org.apache.ibatis.session.Configuration
>   while locating org.mybatis.guice.configuration.ConfigurationProvider
>   at org.mybatis.guice.MyBatisModule.internalConfigure(MyBatisModule.java:113)
>   while locating org.apache.ibatis.session.Configuration
>     for parameter 0 at org.mybatis.guice.session.SqlSessionFactoryProvider.createNewSqlSessionFactory(SqlSessionFactoryProvider.java:64)
>   at org.mybatis.guice.session.SqlSessionFactoryProvider.class(SqlSessionFactoryProvider.java:31)
>   while locating org.mybatis.guice.session.SqlSessionFactoryProvider
>   while locating org.apache.ibatis.session.SqlSessionFactory
>     for parameter 0 at org.mybatis.guice.session.SqlSessionManagerProvider.createNewSqlSessionManager(SqlSessionManagerProvider.java:55)
>   at org.mybatis.guice.session.SqlSessionManagerProvider.class(SqlSessionManagerProvider.java:31)
>   while locating org.mybatis.guice.session.SqlSessionManagerProvider
>   at org.mybatis.guice.AbstractMyBatisModule.configure(AbstractMyBatisModule.java:51)
>   while locating org.apache.ibatis.session.SqlSessionManager
>     for field at org.mybatis.guice.mappers.MapperProvider.sqlSessionManager(MapperProvider.java:40)
>   while locating org.mybatis.guice.mappers.MapperProvider
>   at com.google.inject.util.Providers$3.initialize(Providers.java:101)
>   at org.mybatis.guice.AbstractMyBatisModule.bindMapper(AbstractMyBatisModule.java:80)
> Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause:
org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException:
Could not resolve type alias 'org.apache.aurora.scheduler.storage.db.typehandlers.TaskConfigTypeHandler'.
 Cause: java.lang.ClassNotFoundException: Cannot find class: org.apache.aurora.scheduler.storage.db.typehandlers.TaskConfigTypeHandler
>         at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120)
>         at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92)
>         at org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.loadXmlResource(MapperAnnotationBuilder.java:167)
>         at org.apache.ibatis.builder.annotation.MapperAnnotationBuilder.parse(MapperAnnotationBuilder.java:118)
>         at org.apache.ibatis.binding.MapperRegistry.addMapper(MapperRegistry.java:72)
>         at org.apache.ibatis.session.Configuration.addMapper(Configuration.java:671)
>         at org.mybatis.guice.configuration.ConfigurationProvider.get(ConfigurationProvider.java:288)
>         at org.mybatis.guice.configuration.ConfigurationProvider.get(ConfigurationProvider.java:43)
>         at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>         at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>         at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
> at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
>         at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:83)
>         at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
>         at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
>         at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>         at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>         at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:53)
>         at com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)
>         at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
>         at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
>         at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:83)
>         at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
>         at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
>         at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>         at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>         at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:53)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>         at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
>         at com.google.inject.Scopes$1$1.get(Scopes.java:65)
>         at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
>         at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
>         at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
>         at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75)
>         at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
>         at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73)
>         at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:60)
>         at com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:944)
>         at com.google.inject.util.Providers$3.initialize(Providers.java:101)
>         at com.google.inject.util.Providers$3$$FastClassByGuice$$14d1a0ba.invoke(<generated>)
>         at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53)
>         at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:56)
>         at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:90)
>         at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
>         at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75)
>         at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
> ...
>         at com.google.inject.internal.Initializer.injectAll(Initializer.java:92)
>         at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:173)
>         at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
>         at com.google.inject.Guice.createInjector(Guice.java:95)
>         at com.google.inject.Guice.createInjector(Guice.java:72)
>         at com.google.inject.Guice.createInjector(Guice.java:62)
>         at org.apache.aurora.scheduler.app.SchedulerMain.flagConfiguredMain(SchedulerMain.java:258)
>         at org.apache.aurora.scheduler.app.SchedulerMain.main(SchedulerMain.java:285)
> Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause:
org.apache.ibatis.type.TypeException: Could not resolve type alias 'org.apache.aurora.scheduler.storage.db.typehandlers.TaskConfigTypeHandler'.
 Cause: java.lang.ClassNotFoundException: Cannot find class: org.apache.aurora.scheduler.storage.db.typehandlers.TaskConfigTypeHandler
>         at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118)
>         at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildResultMappingFromContext(XMLMapperBuilder.java:376)
>         at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:280)
>         at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:252)
>         at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:244)
>         at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:116)
>         ... 70 more
> Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'org.apache.aurora.scheduler.storage.db.typehandlers.TaskConfigTypeHandler'.
 Cause: java.lang.ClassNotFoundException: Cannot find class: org.apache.aurora.scheduler.storage.db.typehandlers.TaskConfigTypeHandler
>         at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120)
>         at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149)
>         at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116)
>         ... 75 more
> Caused by: java.lang.ClassNotFoundException: Cannot find class: org.apache.aurora.scheduler.storage.db.typehandlers.TaskConfigTypeHandler
>         at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:200)
>         at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89)
>         at org.apache.ibatis.io.Resources.classForName(Resources.java:261)
>         at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116)
>         ... 77 more
> {code}



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

Mime
View raw message