Mesos 0.20 docker integration throws UninitializedMessageException #249
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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