I believe you are missing the thermos_executor options that have to be passed 
to the scheduler command line.


See 
https://github.com/apache/aurora/blob/33d7e2170a86f54722a02a2dc9cb1e09fb52df25/examples/vagrant/upstart/aurora-scheduler.conf#L39?
 for an example


Best Regards,

Stephan


________________________________
From: Krish <[email protected]>
Sent: Monday, October 19, 2015 8:45 AM
To: [email protected]
Subject: Re: Stacktrace when running Apache Aurora

Hi,
I am a n00b with apache aurora & trying to experiment some things on my local 
machine with zookeeper and mesos-master running locally. They have initialized 
properly. When I try to run aurora with the required options, I get the 
following error, & googing hasn't helped me much here.
Appreciate any help. Thanks in advance.

...
...
WARNING: Method [public void 
org.apache.aurora.scheduler.storage.log.SnapshotStoreImpl.applySnapshot(java.lang.Object)]
 is synthetic and is being intercepted by 
[com.twitter.common.inject.TimedInterceptor@604c5de8]. This could indicate a 
bug.  The method
 may be intercepted twice, or may not be intercepted at all.
Exception in thread "main" com.google.inject.CreationException: Guice creation 
errors:

1) An exception was caught and reported. Message: A value may only be retrieved 
from a variable that has a default or has been
set.
  at 
com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)

2) Could not find a suitable constructor in 
org.apache.aurora.scheduler.mesos.ExecutorSettings. Classes must have either 
one (a
nd only one) constructor annotated with @Inject or a zero-argument constructor 
that is not private.
  at 
org.apache.aurora.scheduler.mesos.ExecutorSettings.class(ExecutorSettings.java:43)
  at 
org.apache.aurora.scheduler.app.SchedulerMain$3.configure(SchedulerMain.java:204)

2 errors
        at 
com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
        at 
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
        at 
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
        at com.google.inject.Guice.createInjector(Guice.java:95)
        at com.google.inject.Guice.createInjector(Guice.java:83)
        at 
com.twitter.common.application.AppLauncher.configureInjection(AppLauncher.java:120)
        at com.twitter.common.application.AppLauncher.run(AppLauncher.java:87)
        at 
com.twitter.common.application.AppLauncher.launch(AppLauncher.java:181)
        at 
com.twitter.common.application.AppLauncher.launch(AppLauncher.java:142)
        at 
org.apache.aurora.scheduler.app.SchedulerMain.main(SchedulerMain.java:263)
Caused by: java.lang.IllegalStateException: A value may only be retrieved from 
a variable that has a default or has been set.
        at 
com.google.common.base.Preconditions.checkState(Preconditions.java:176)
        at com.twitter.common.args.Arg.get(Arg.java:82)
        at 
org.apache.aurora.scheduler.app.SchedulerMain$3.configure(SchedulerMain.java:206)
        at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
        at 
com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
        at com.google.inject.util.Modules$2.configure(Modules.java:114)
        at 
com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
        at com.google.inject.spi.Elements.getElements(Elements.java:101)
        at 
com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
        at 
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
        ... 7 more

Complete logs are present @http://pastebin.com/i72HvbYi.


--
????h???

Reply via email to