What do the master logs say?

On Sat, Mar 15, 2014 at 10:14 PM, Muhuan Huang <[email protected]> wrote:

> Hello there!
>
> I'm trying to test mesos on two machines within a LAN. I launch a master
> on one machine and a slave on the other. When I try to launch the example
> framework (test-framework) on the machine where the slave resides in, it
> hangs. The slave keeps getting asked to shut down unknown frameworks (with
> increasing id).
>
> Could anyone help to explain what's going on?
>
> I have mesos-0.17.0 and CentOS installed.
>
> Muhuan
>
>
>
>
> Here's the output from framework:
> -------------------------------------------------
>  ./src/examples/python/test-framework 10.0.0.8:5050
> I0315 13:43:12.697850  2504 sched.cpp:218] No credentials provided.
> Attempting to register without authentication
> I0315 13:43:12.698140  2504 sched.cpp:230] Detecting new master
>
>
>
> output from slave
> -------------------------------------------------
> [root@computer4 build]# ./bin/mesos-slave.sh --master=10.0.0.8:5050
> I0315 13:41:24.226071  2440 main.cpp:118] Build: 2014-03-07 07:39:55 by
> root
> I0315 13:41:24.226307  2440 main.cpp:120] Creating "process" isolator
> I0315 13:41:24.227330  2440 main.cpp:132] Starting Mesos slave
> I0315 13:41:24.228863  2460 slave.cpp:111] Slave started on 1)@
> 10.0.0.6:5051
> I0315 13:41:24.229421  2460 slave.cpp:211] Slave resources: cpus(*):2;
> mem(*):2789; disk(*):45276; ports(*):[31000-32000]
> I0315 13:41:24.235052  2456 state.cpp:33] Recovering state from
> '/tmp/mesos/meta'
> I0315 13:41:24.236737  2456 status_update_manager.cpp:188] Recovering
> status update manager
> I0315 13:41:24.237052  2463 process_isolator.cpp:317] Recovering isolator
> I0315 13:41:24.237324  2463 slave.cpp:2752] Finished recovery
> I0315 13:41:24.238035  2463 slave.cpp:2784] Garbage collecting old slave
> 201403152002-134217738-5050-28509-0
> I0315 13:41:24.238256  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/slaves/201403152002-134217738-5050-28509-0' for gc
> 6.99999724372741days in the future
> I0315 13:41:24.238311  2463 slave.cpp:2784] Garbage collecting old slave
> 201403050752-2950738819-5050-1262-0
> I0315 13:41:24.238489  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/meta/slaves/201403152002-134217738-5050-28509-0' for gc
> 6.99999724218667days in the future
> I0315 13:41:24.238534  2463 slave.cpp:2784] Garbage collecting old slave
> 201403041402-16777343-5050-8512-0
> I0315 13:41:24.238579  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/slaves/201403050752-2950738819-5050-1262-0' for gc
> 6.99999724048593days in the future
> I0315 13:41:24.238670  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/meta/slaves/201403050752-2950738819-5050-1262-0' for gc
> 6.99999723967704days in the future
> I0315 13:41:24.238698  2463 slave.cpp:2784] Garbage collecting old slave
> 201403071310-16777343-5050-28263-0
> I0315 13:41:24.238764  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/slaves/201403041402-16777343-5050-8512-0' for gc
> 6.99999723857778days in the future
> I0315 13:41:24.238837  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/meta/slaves/201403041402-16777343-5050-8512-0' for gc
> 6.99999723786963days in the future
> I0315 13:41:24.238873  2463 slave.cpp:2784] Garbage collecting old slave
> 201403110754-2950738819-5050-1396-0
> I0315 13:41:24.238911  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/slaves/201403071310-16777343-5050-28263-0' for gc
> 6.99999723667852days in the future
> I0315 13:41:24.239322  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/meta/slaves/201403071310-16777343-5050-28263-0' for gc
> 6.99999723581037days in the future
> I0315 13:41:24.239413  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/slaves/201403110754-2950738819-5050-1396-0' for gc
> 6.99999723348444days in the future
> I0315 13:41:24.239478  2461 gc.cpp:56] Scheduling
> '/tmp/mesos/meta/slaves/201403110754-2950738819-5050-1396-0' for gc
> 6.99999723250074days in the future
> I0315 13:41:24.239799  2462 slave.cpp:500] New master detected at
> [email protected]:5050
> I0315 13:41:24.240231  2461 status_update_manager.cpp:162] New master
> detected at [email protected]:5050
> I0315 13:41:24.240411  2462 slave.cpp:525] Detecting new master
> I0315 13:41:24.242296  2461 slave.cpp:593] Re-registered with master
> [email protected]:5050
> I0315 13:42:24.231416  2461 slave.cpp:2602] Current usage 9.32%. Max
> allowed age: 5.647927204010996days
> I0315 13:43:12.699659  2459 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0000 by [email protected]:5050
> W0315 13:43:12.699748  2459 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0000
> I0315 13:43:13.699810  2459 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0001 by [email protected]:5050
> W0315 13:43:13.699880  2459 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0001
> I0315 13:43:14.700316  2457 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0002 by [email protected]:5050
> W0315 13:43:14.700397  2457 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0002
> I0315 13:43:15.700831  2461 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0003 by [email protected]:5050
> W0315 13:43:15.700930  2461 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0003
> I0315 13:43:16.701084  2463 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0004 by [email protected]:5050
> W0315 13:43:16.701154  2463 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0004
> I0315 13:43:17.701400  2456 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0005 by [email protected]:5050
> W0315 13:43:17.701467  2456 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0005
> I0315 13:43:18.701666  2456 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0006 by [email protected]:5050
> W0315 13:43:18.701738  2456 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0006
> I0315 13:43:19.701906  2462 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0007 by [email protected]:5050
> W0315 13:43:19.701979  2462 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0007
> I0315 13:43:20.702301  2458 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0008 by [email protected]:5050
> W0315 13:43:20.702368  2458 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0008
> I0315 13:43:21.702569  2458 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0009 by [email protected]:5050
> W0315 13:43:21.702638  2458 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0009
> I0315 13:43:22.702926  2460 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0010 by [email protected]:5050
> W0315 13:43:22.702997  2460 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0010
> I0315 13:43:23.703258  2459 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0011 by [email protected]:5050
> W0315 13:43:23.703331  2459 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0011
> I0315 13:43:24.231906  2457 slave.cpp:2602] Current usage 9.32%. Max
> allowed age: 5.647927204010996days
> I0315 13:43:24.703522  2456 slave.cpp:1134] Asked to shut down framework
> 201403152138-134217738-5050-30706-0012 by [email protected]:5050
> W0315 13:43:24.703595  2456 slave.cpp:1149] Cannot shut down unknown
> framework 201403152138-134217738-5050-30706-0012
> ...
>
>
>
>
>
>
>
>
>
>

Reply via email to