Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesos 0.20 docker integration throws UninitializedMessageException #249

Merged
merged 1 commit into from
Aug 31, 2014

Conversation

cloudysunny14
Copy link
Contributor

Hi.

I am trying to run Mesos 0.20 docker integration, but I've got following error:

Exception in thread "Thread-14" com.google.protobuf.UninitializedMessageException: Message missing required fields: type
at com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:770)
at org.apache.mesos.Protos$ContainerInfo$Builder.build(Protos.java:51784)
at com.airbnb.scheduler.mesos.MesosTaskBuilder.createContainerInfo(MesosTaskBuilder.scala:142)
at com.airbnb.scheduler.mesos.MesosTaskBuilder.getMesosTaskInfoBuilder(MesosTaskBuilder.scala:113)
at com.airbnb.scheduler.mesos.MesosJobFramework.buildTask(MesosJobFramework.scala:191)
at com.airbnb.scheduler.mesos.MesosJobFramework$$anonfun$2.apply(MesosJobFramework.scala:84)
at com.airbnb.scheduler.mesos.MesosJobFramework$$anonfun$2.apply(MesosJobFramework.scala:84)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
at scala.collection.Iterator$class.find(Iterator.scala:779)
at scala.collection.AbstractIterator.find(Iterator.scala:1157)
at com.airbnb.scheduler.mesos.MesosJobFramework.getNextTask$1(MesosJobFramework.scala:84)
at com.airbnb.scheduler.mesos.MesosJobFramework.resourceOffers(MesosJobFramework.scala:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)
at com.sun.proxy.$Proxy32.resourceOffers(Unknown Source)
I0831 10:17:48.651885 28182 sched.cpp:772] Aborting framework '20140817-165256-4015564992-5050-3654-0000'

ContainerInfo is required to set the Type field.
I've patch for set DOCKER to the type field, Isn't there a good method for that?

Best regards.

Kiyonari Harigae

brndnmtthws added a commit that referenced this pull request Aug 31, 2014
Mesos 0.20 docker integration throws UninitializedMessageException
@brndnmtthws brndnmtthws merged commit f4805d8 into mesos:master Aug 31, 2014
@cloudysunny14 cloudysunny14 deleted the addedDockerType branch September 1, 2014 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants