(Replying on new Spark mailing list since the old one closed).
Are you sure Spark is finding your build of Mesos instead of the Apache one
from Maven Central? Unfortunately, code compiled with different protobuf
versions is not compatible, because the generated code by the protoc compiler
One way to ensure that the right build of Mesos is found is to change
the version number. For example, give your build of Mesos with
Protobuf 2.5 the version number 0.14.2-pb2.5, and reference that
version in your Spark build.
-Jey
On Fri, Jan 3, 2014 at 9:14 PM, Matei Zaharia