Skip to content

field state is not supported #1

@deric

Description

@deric

Hi,

I trying to run the code from tutorial and I keep getting this error:

MESOS_HOME is not set. Defaulting to /usr/local
MESOS_NATIVE_LIBRARY set to /usr/local/lib/libmesos.so
Exception in thread "main" 2013-08-19 15:38:04,629:9093(0x7f2c8fc34700):ZOO_INFO@log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.4
2013-08-19 15:38:04,629:9093(0x7f2c8fc34700):ZOO_INFO@log_env@669: Client environment:os.name=Linux
2013-08-19 15:38:04,629:9093(0x7f2c8fc34700):ZOO_INFO@log_env@670: Client environment:os.arch=2.6.32-5-amd64
2013-08-19 15:38:04,629:9093(0x7f2c8fc34700):ZOO_INFO@log_env@671: Client environment:os.version=#1 SMP Fri May 10 08:43:19 UTC 2013
2013-08-19 15:38:04,629:9093(0x7f2c8fc34700):ZOO_INFO@log_env@679: Client environment:user.name=deric
2013-08-19 15:38:04,629:9093(0x7f2c8fc34700):ZOO_INFO@log_env@687: Client environment:user.home=/home/deric
2013-08-19 15:38:04,629:9093(0x7f2c8fc34700):ZOO_INFO@log_env@699: Client environment:user.dir=/home/deric/mesos-getting-started
2013-08-19 15:38:04,629:9093(0x7f2c8fc34700):ZOO_INFO@zookeeper_init@727: Initiating client connection, host=localhost:2181 sessionTimeout=10000 watcher=0x7f2c93903aa0 sessionId=0 sessionPasswd= context=0x955df0 flags=0
java.lang.NoSuchFieldError: __state2013-08-19 15:38:04,629:9093(0x7f2c8dc30700):ZOO_INFO@check_events@1585: initiated connection to server [127.0.0.1:2181]

        at org.apache.mesos.state.ZooKeeperState.initialize(Native Method)
        at org.apache.mesos.state.ZooKeeperState.(ZooKeeperState.java:53)
        at mesos.getting.started.Main$delayedInit$body.apply(Main.scala:35)
        at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
        at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
        at scala.App$$anonfun$main$1.apply(App.scala:71)
        at scala.App$$anonfun$main$1.apply(App.scala:71)
        at scala.collection.immutable.List.foreach(List.scala:318)
        at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
        at scala.App$class.main(App.scala:71)
        at mesos.getting.started.Main$.main(Main.scala:12)
        at mesos.getting.started.Main.main(Main.scala)

The mesos version is 0.14 and zookeeper version is 3.4.5+dfsg-1~exp2. Mesos cluster coordinated by zookeeper. This error looks like the zookeeper driver is outdated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions