Hi all,

    I'm trying https://github.com/mesos/mesos-go (master branch) with 
mesos-master:0.28.0-2.0.16.ubuntu1404 (run with docker).

    The scheduler doesn't run any tasks. Here's the output, and stuck there 
forever:

[cannon@yzc-mesos1 scheduler]$ ./scheduler -master 10.18.6.57:5050 
-logtostderr=true
I0819 16:50:11.850130   16619 main.go:215] Initializing the Example Scheduler...
I0819 16:50:11.854875   16619 scheduler.go:334] Initializing mesos scheduler 
driver
I0819 16:50:11.855194   16619 scheduler.go:833] Starting the scheduler driver...
I0819 16:50:11.855344   16619 http_transporter.go:383] listening on 127.0.0.1 
port 36443
I0819 16:50:11.855444   16619 scheduler.go:850] Mesos scheduler driver started 
with PID=scheduler(1)@127.0.0.1:36443
I0819 16:50:11.855500   16619 scheduler.go:1053] Scheduler driver running.  
Waiting to be stopped.
I0819 16:50:11.946344   16619 scheduler.go:419] New master 
[email protected]:5050 detected
I0819 16:50:11.946375   16619 scheduler.go:483] No credentials were provided. 
Attempting to register scheduler without authentication.

    The mesos master log indicates that it deactivated that scheduler again and 
again:
I0819 17:25:41.866633     9 master.cpp:2231] Received SUBSCRIBE call for 
framework 'Test Framework (Go)' at scheduler(1)@127.0.0.1:52671
I0819 17:25:41.866986     9 master.cpp:2302] Subscribing framework Test 
Framework (Go) with checkpointing disabled and capabilities [  ]
E0819 17:25:41.869329    13 process.cpp:1958] Failed to shutdown socket with fd 
15: Transport endpoint is not connected
I0819 17:25:41.869443     7 hierarchical.cpp:265] Added framework 
0583e05a-2ddb-4db5-945f-00d1c98d3780-0083
I0819 17:25:41.870447     9 master.cpp:1212] Framework 
0583e05a-2ddb-4db5-945f-00d1c98d3780-0083 (Test Framework (Go)) at 
scheduler(1)@127.0.0.1:52671 disconnected
E0819 17:25:41.870484    13 process.cpp:1958] Failed to shutdown socket with fd 
15: Transport endpoint is not connected
I0819 17:25:41.870501     9 master.cpp:2527] Disconnecting framework 
0583e05a-2ddb-4db5-945f-00d1c98d3780-0083 (Test Framework (Go)) at 
scheduler(1)@127.0.0.1:52671
I0819 17:25:41.870671     9 master.cpp:2551] Deactivating framework 
0583e05a-2ddb-4db5-945f-00d1c98d3780-0083 (Test Framework (Go)) at 
scheduler(1)@127.0.0.1:52671
I0819 17:25:41.870734     9 master.cpp:1236] Giving framework 
0583e05a-2ddb-4db5-945f-00d1c98d3780-0083 (Test Framework (Go)) at 
scheduler(1)@127.0.0.1:52671 0ns to failover
W0819 17:25:41.870820     9 master.cpp:5189] Master returning resources offered 
to framework 0583e05a-2ddb-4db5-945f-00d1c98d3780-0083 because the framework 
has terminated or is inactive
I0819 17:25:41.870942     9 hierarchical.cpp:375] Deactivated framework 
0583e05a-2ddb-4db5-945f-00d1c98d3780-0083
I0819 17:25:41.871987     7 master.cpp:5176] Framework failover timeout, 
removing framework 0583e05a-2ddb-4db5-945f-00d1c98d3780-0083 (Test Framework 
(Go)) at scheduler(1)@127.0.0.1:52671
I0819 17:25:41.872043     7 master.cpp:5909] Removing framework 
0583e05a-2ddb-4db5-945f-00d1c98d3780-0083 (Test Framework (Go)) at 
scheduler(1)@127.0.0.1:52671
I0819 17:25:41.872268     9 hierarchical.cpp:326] Removed framework 
0583e05a-2ddb-4db5-945f-00d1c98d3780-0083
I0819 17:25:44.062274     7 http.cpp:312] HTTP GET for /master/state from 
10.32.51.161:28655 with User-Agent='Mozilla/5.0 (X11; Linux x86_64) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36'
I0819 17:25:51.068267    12 http.cpp:312] HTTP GET for /master/state from 
10.32.51.161:28655 with User-Agent='Mozilla/5.0 (X11; Linux x86_64) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36'

   Chronos works well under my env. So what's wrong with mesos-go?
   Thanks,
Zhichang Yu








Reply via email to