[ 
https://issues.apache.org/jira/browse/MESOS-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658171#comment-13658171
 ] 

Benabbas Aboubakr El Hacen edited comment on MESOS-464 at 5/15/13 4:05 PM:
---------------------------------------------------------------------------

here are the commands for starting the master, slave and the framwork:
aboubakr@aboubakr:~/Development/mesos-0.10.0/build/bin$ ./mesos-master.sh 
--log_dir=/home/aboubakr/Desktop/

aboubakr@aboubakr:~/Development/mesos-0.10.0/build/bin$ ./mesos-slave.sh 
--master=127.0.1.1:5050 --log_dir=/home/aboubakr/Desktop/ 
--resources=cpus:4;mem:2000;ports:[31000-32000]

aboubakr@aboubakr:~/Development/mesos-0.10.0/build/src$ ./test-framework 
127.0.1.1:5050

log for the master :
Log file created at: 2013/05/15 10:31:52
Running on machine: aboubakr
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0515 10:31:52.116281  3835 main.cpp:116] Build: 2013-05-07 17:24:25 by aboubakr
I0515 10:31:52.117198  3835 main.cpp:117] Starting Mesos master
I0515 10:31:52.117743  3849 master.cpp:301] Master started on 127.0.1.1:5050
I0515 10:31:52.117838  3849 master.cpp:316] Master ID: 
201305151031-16842879-5050-3835
W0515 10:31:52.118024  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:31:52.121345  3849 master.cpp:542] Elected as master!
I0515 10:31:53.119830  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.029767 milliseconds
I0515 10:31:54.121476  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.012568 milliseconds
I0515 10:31:55.123101  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.013135 milliseconds
I0515 10:31:56.124732  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.013486 milliseconds
W0515 10:31:57.119778  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:31:57.125890  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.00614 milliseconds
I0515 10:31:58.127372  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.01537 milliseconds
I0515 10:31:59.129027  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.014087 milliseconds
I0515 10:32:00.130549  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.013901 milliseconds
I0515 10:32:01.131949  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.004992 milliseconds
W0515 10:32:02.120715  3849 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:02.132967  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.012829 milliseconds
I0515 10:32:03.134596  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.012002 milliseconds
I0515 10:32:03.738119  3852 master.cpp:906] Attempting to register slave on 
aboubakr at slave(1)@127.0.1.1:51780
I0515 10:32:03.738162  3852 master.cpp:1142] Master now considering a slave at 
aboubakr:51780 as active
I0515 10:32:03.738180  3852 master.cpp:1721] Adding slave 
201305151031-16842879-5050-3835-0 at aboubakr with cpus=4
I0515 10:32:03.738540  3851 dominant_share_allocator.cpp:244] Added slave 
201305151031-16842879-5050-3835-0 (aboubakr) with cpus=4 (and cpus=4 available)
I0515 10:32:03.738601  3851 dominant_share_allocator.cpp:435] Performed 
allocation for slave 201305151031-16842879-5050-3835-0 in 0.000782 milliseconds
I0515 10:32:04.136373  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.060637 milliseconds
I0515 10:32:05.138067  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.019123 milliseconds
I0515 10:32:06.139700  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.028379 milliseconds
W0515 10:32:07.122761  3852 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:07.141047  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.010167 milliseconds
I0515 10:32:08.142504  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.022281 milliseconds
I0515 10:32:09.144131  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.022456 milliseconds
I0515 10:32:10.145784  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.021373 milliseconds
I0515 10:32:10.683178  3849 master.cpp:585] Registering framework 
201305151031-16842879-5050-3835-0000 at scheduler(1)@127.0.1.1:35993
I0515 10:32:10.683877  3849 dominant_share_allocator.cpp:144] Added framework 
201305151031-16842879-5050-3835-0000
I0515 10:32:10.684062  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.111076 milliseconds
I0515 10:32:11.147819  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.1036 milliseconds
W0515 10:32:12.124750  3852 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:12.149166  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.124005 milliseconds
I0515 10:32:13.150949  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.100788 milliseconds
I0515 10:32:14.152765  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.09727 milliseconds
I0515 10:32:15.154578  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.098463 milliseconds
I0515 10:32:16.156432  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.097822 milliseconds
W0515 10:32:17.126271  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:17.157727  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.079901 milliseconds
I0515 10:32:18.159523  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.124698 milliseconds
I0515 10:32:19.161366  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.124803 milliseconds
I0515 10:32:20.163089  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.100478 milliseconds
I0515 10:32:21.164823  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.096073 milliseconds
W0515 10:32:22.127970  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:22.166371  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.104156 milliseconds
I0515 10:32:23.168184  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.099089 milliseconds
I0515 10:32:24.170061  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.121205 milliseconds
I0515 10:32:25.171826  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.096218 milliseconds
I0515 10:32:26.173662  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.1075 milliseconds
W0515 10:32:27.130741  3852 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:27.175127  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.125203 milliseconds
I0515 10:32:28.176913  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.095216 milliseconds
I0515 10:32:29.178760  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.11239 milliseconds
I0515 10:32:30.180596  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.105028 milliseconds
I0515 10:32:31.182379  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.093557 milliseconds
W0515 10:32:32.132542  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:32.183902  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.099896 milliseconds
I0515 10:32:33.184901  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.093753 milliseconds
I0515 10:32:34.186631  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.109162 milliseconds
I0515 10:32:35.188165  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.03394 milliseconds
I0515 10:32:36.189786  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.106442 milliseconds
W0515 10:32:37.134799  3850 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:37.191227  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.098473 milliseconds
I0515 10:32:38.193027  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.101445 milliseconds
I0515 10:32:39.194911  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.129789 milliseconds
I0515 10:32:40.196759  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.080739 milliseconds
I0515 10:32:41.198667  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.097411 milliseconds
W0515 10:32:42.136742  3849 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:42.200183  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.097396 milliseconds
I0515 10:32:43.202013  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.096729 milliseconds
I0515 10:32:44.203820  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.098814 milliseconds
I0515 10:32:45.205625  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.103074 milliseconds
I0515 10:32:46.207437  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.101877 milliseconds
W0515 10:32:47.138504  3850 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:47.208907  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.130731 milliseconds
I0515 10:32:48.210592  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.094889 milliseconds
I0515 10:32:49.212462  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.111559 milliseconds
I0515 10:32:50.213459  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.043539 milliseconds
I0515 10:32:51.215065  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.12822 milliseconds
I0515 10:32:51.629696  3851 master.cpp:479] Framework 
201305151031-16842879-5050-3835-0000 disconnected
I0515 10:32:51.631381  3851 master.cpp:491] Giving framework 
201305151031-16842879-5050-3835-0000 0 seconds to failover
I0515 10:32:51.631456  3852 dominant_share_allocator.cpp:216] Deactivated 
framework 201305151031-16842879-5050-3835-0000
I0515 10:32:51.631856  3850 master.cpp:1177] Framework failover timeout, 
removing framework 201305151031-16842879-5050-3835-0000
I0515 10:32:51.632290  3849 dominant_share_allocator.cpp:171] Removed framework 
201305151031-16842879-5050-3835-0000
W0515 10:32:52.140247  3852 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:52.216415  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.009294 milliseconds
I0515 10:32:53.218304  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.021619 milliseconds
I0515 10:32:53.917171  3850 master.cpp:513] Slave 
201305151031-16842879-5050-3835-0(aboubakr) disconnected
I0515 10:32:53.919024  3849 dominant_share_allocator.cpp:269] Removed slave 
201305151031-16842879-5050-3835-0
I0515 10:32:54.219530  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.016071 milliseconds
I0515 10:32:55.221003  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.005423 milliseconds
I0515 10:32:56.222023  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.0051 milliseconds
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
log for the slave :
Log file created at: 2013/05/15 10:32:03
Running on machine: aboubakr
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0515 10:32:03.733144  3865 main.cpp:123] Creating "process" isolation module
I0515 10:32:03.733554  3865 main.cpp:131] Build: 2013-05-07 17:24:25 by aboubakr
I0515 10:32:03.733580  3865 main.cpp:132] Starting Mesos slave
I0515 10:32:03.734063  3880 slave.cpp:175] Slave started on 1)@127.0.1.1:51780
I0515 10:32:03.734108  3880 slave.cpp:176] Slave resources: cpus=4
I0515 10:32:03.735709  3880 slave.cpp:352] New master detected at 
[email protected]:5050
I0515 10:32:03.739258  3881 slave.cpp:372] Registered with master; given slave 
ID 201305151031-16842879-5050-3835-0
I0515 10:32:51.632652  3881 slave.cpp:637] Asked to shut down framework 
201305151031-16842879-5050-3835-0000
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Log file created at: 2013/05/15 10:32:03
Running on machine: aboubakr
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0515 10:32:03.733144  3865 main.cpp:123] Creating "process" isolation module
I0515 10:32:03.733554  3865 main.cpp:131] Build: 2013-05-07 17:24:25 by aboubakr
I0515 10:32:03.733580  3865 main.cpp:132] Starting Mesos slave
I0515 10:32:03.734063  3880 slave.cpp:175] Slave started on 1)@127.0.1.1:51780
I0515 10:32:03.734108  3880 slave.cpp:176] Slave resources: cpus=4
I0515 10:32:03.735709  3880 slave.cpp:352] New master detected at 
[email protected]:5050
I0515 10:32:03.739258  3881 slave.cpp:372] Registered with master; given slave 
ID 201305151031-16842879-5050-3835-0
I0515 10:32:51.632652  3881 slave.cpp:637] Asked to shut down framework 
201305151031-16842879-5050-3835-0000
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
log for the framework :
 Registered!
//////////////////////////////////
i also figured out something, by calling the slave and specifying the resources 
parameter in the way you gave me, only cpu's value is taken, and no memory is 
allocated, conversely when i write the resources parameter beginning with mem 
value, the memory is allocated but no cpu's are allocated
I also tried to track the execution by inserting some prints on the screen, 
i've noticed that the exectuor is not called at all.

                
      was (Author: aboubakr):
    here are the commands for starting the master, slave and the framwork:
aboubakr@aboubakr:~/Development/mesos-0.10.0/build/bin$ ./mesos-master.sh 
--log_dir=/home/aboubakr/Desktop/

aboubakr@aboubakr:~/Development/mesos-0.10.0/build/bin$ ./mesos-slave.sh 
--master=127.0.1.1:5050 --log_dir=/home/aboubakr/Desktop/ 
--resources=cpus:4;mem:2000;ports:[31000-32000]

aboubakr@aboubakr:~/Development/mesos-0.10.0/build/src$ ./test-framework 
127.0.1.1:5050

log for the master :
Log file created at: 2013/05/15 10:31:52
Running on machine: aboubakr
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0515 10:31:52.116281  3835 main.cpp:116] Build: 2013-05-07 17:24:25 by aboubakr
I0515 10:31:52.117198  3835 main.cpp:117] Starting Mesos master
I0515 10:31:52.117743  3849 master.cpp:301] Master started on 127.0.1.1:5050
I0515 10:31:52.117838  3849 master.cpp:316] Master ID: 
201305151031-16842879-5050-3835
W0515 10:31:52.118024  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:31:52.121345  3849 master.cpp:542] Elected as master!
I0515 10:31:53.119830  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.029767 milliseconds
I0515 10:31:54.121476  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.012568 milliseconds
I0515 10:31:55.123101  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.013135 milliseconds
I0515 10:31:56.124732  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.013486 milliseconds
W0515 10:31:57.119778  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:31:57.125890  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.00614 milliseconds
I0515 10:31:58.127372  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.01537 milliseconds
I0515 10:31:59.129027  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.014087 milliseconds
I0515 10:32:00.130549  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.013901 milliseconds
I0515 10:32:01.131949  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.004992 milliseconds
W0515 10:32:02.120715  3849 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:02.132967  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.012829 milliseconds
I0515 10:32:03.134596  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.012002 milliseconds
I0515 10:32:03.738119  3852 master.cpp:906] Attempting to register slave on 
aboubakr at slave(1)@127.0.1.1:51780
I0515 10:32:03.738162  3852 master.cpp:1142] Master now considering a slave at 
aboubakr:51780 as active
I0515 10:32:03.738180  3852 master.cpp:1721] Adding slave 
201305151031-16842879-5050-3835-0 at aboubakr with cpus=4
I0515 10:32:03.738540  3851 dominant_share_allocator.cpp:244] Added slave 
201305151031-16842879-5050-3835-0 (aboubakr) with cpus=4 (and cpus=4 available)
I0515 10:32:03.738601  3851 dominant_share_allocator.cpp:435] Performed 
allocation for slave 201305151031-16842879-5050-3835-0 in 0.000782 milliseconds
I0515 10:32:04.136373  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.060637 milliseconds
I0515 10:32:05.138067  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.019123 milliseconds
I0515 10:32:06.139700  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.028379 milliseconds
W0515 10:32:07.122761  3852 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:07.141047  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.010167 milliseconds
I0515 10:32:08.142504  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.022281 milliseconds
I0515 10:32:09.144131  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.022456 milliseconds
I0515 10:32:10.145784  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.021373 milliseconds
I0515 10:32:10.683178  3849 master.cpp:585] Registering framework 
201305151031-16842879-5050-3835-0000 at scheduler(1)@127.0.1.1:35993
I0515 10:32:10.683877  3849 dominant_share_allocator.cpp:144] Added framework 
201305151031-16842879-5050-3835-0000
I0515 10:32:10.684062  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.111076 milliseconds
I0515 10:32:11.147819  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.1036 milliseconds
W0515 10:32:12.124750  3852 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:12.149166  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.124005 milliseconds
I0515 10:32:13.150949  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.100788 milliseconds
I0515 10:32:14.152765  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.09727 milliseconds
I0515 10:32:15.154578  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.098463 milliseconds
I0515 10:32:16.156432  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.097822 milliseconds
W0515 10:32:17.126271  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:17.157727  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.079901 milliseconds
I0515 10:32:18.159523  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.124698 milliseconds
I0515 10:32:19.161366  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.124803 milliseconds
I0515 10:32:20.163089  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.100478 milliseconds
I0515 10:32:21.164823  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.096073 milliseconds
W0515 10:32:22.127970  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:22.166371  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.104156 milliseconds
I0515 10:32:23.168184  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.099089 milliseconds
I0515 10:32:24.170061  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.121205 milliseconds
I0515 10:32:25.171826  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.096218 milliseconds
I0515 10:32:26.173662  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.1075 milliseconds
W0515 10:32:27.130741  3852 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:27.175127  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.125203 milliseconds
I0515 10:32:28.176913  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.095216 milliseconds
I0515 10:32:29.178760  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.11239 milliseconds
I0515 10:32:30.180596  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.105028 milliseconds
I0515 10:32:31.182379  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.093557 milliseconds
W0515 10:32:32.132542  3851 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:32.183902  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.099896 milliseconds
I0515 10:32:33.184901  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.093753 milliseconds
I0515 10:32:34.186631  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.109162 milliseconds
I0515 10:32:35.188165  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.03394 milliseconds
I0515 10:32:36.189786  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.106442 milliseconds
W0515 10:32:37.134799  3850 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:37.191227  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.098473 milliseconds
I0515 10:32:38.193027  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.101445 milliseconds
I0515 10:32:39.194911  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.129789 milliseconds
I0515 10:32:40.196759  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.080739 milliseconds
I0515 10:32:41.198667  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.097411 milliseconds
W0515 10:32:42.136742  3849 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:42.200183  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.097396 milliseconds
I0515 10:32:43.202013  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.096729 milliseconds
I0515 10:32:44.203820  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.098814 milliseconds
I0515 10:32:45.205625  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.103074 milliseconds
I0515 10:32:46.207437  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.101877 milliseconds
W0515 10:32:47.138504  3850 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:47.208907  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.130731 milliseconds
I0515 10:32:48.210592  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.094889 milliseconds
I0515 10:32:49.212462  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.111559 milliseconds
I0515 10:32:50.213459  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.043539 milliseconds
I0515 10:32:51.215065  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.12822 milliseconds
I0515 10:32:51.629696  3851 master.cpp:479] Framework 
201305151031-16842879-5050-3835-0000 disconnected
I0515 10:32:51.631381  3851 master.cpp:491] Giving framework 
201305151031-16842879-5050-3835-0000 0 seconds to failover
I0515 10:32:51.631456  3852 dominant_share_allocator.cpp:216] Deactivated 
framework 201305151031-16842879-5050-3835-0000
I0515 10:32:51.631856  3850 master.cpp:1177] Framework failover timeout, 
removing framework 201305151031-16842879-5050-3835-0000
I0515 10:32:51.632290  3849 dominant_share_allocator.cpp:171] Removed framework 
201305151031-16842879-5050-3835-0000
W0515 10:32:52.140247  3852 master.cpp:77] No whitelist given. Advertising 
offers for all slaves
I0515 10:32:52.216415  3849 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.009294 milliseconds
I0515 10:32:53.218304  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 1 slaves in 0.021619 milliseconds
I0515 10:32:53.917171  3850 master.cpp:513] Slave 
201305151031-16842879-5050-3835-0(aboubakr) disconnected
I0515 10:32:53.919024  3849 dominant_share_allocator.cpp:269] Removed slave 
201305151031-16842879-5050-3835-0
I0515 10:32:54.219530  3851 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.016071 milliseconds
I0515 10:32:55.221003  3852 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.005423 milliseconds
I0515 10:32:56.222023  3850 dominant_share_allocator.cpp:417] Performed 
allocation for 0 slaves in 0.0051 milliseconds
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
log for the slave :
Log file created at: 2013/05/15 10:32:03
Running on machine: aboubakr
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0515 10:32:03.733144  3865 main.cpp:123] Creating "process" isolation module
I0515 10:32:03.733554  3865 main.cpp:131] Build: 2013-05-07 17:24:25 by aboubakr
I0515 10:32:03.733580  3865 main.cpp:132] Starting Mesos slave
I0515 10:32:03.734063  3880 slave.cpp:175] Slave started on 1)@127.0.1.1:51780
I0515 10:32:03.734108  3880 slave.cpp:176] Slave resources: cpus=4
I0515 10:32:03.735709  3880 slave.cpp:352] New master detected at 
[email protected]:5050
I0515 10:32:03.739258  3881 slave.cpp:372] Registered with master; given slave 
ID 201305151031-16842879-5050-3835-0
I0515 10:32:51.632652  3881 slave.cpp:637] Asked to shut down framework 
201305151031-16842879-5050-3835-0000
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Log file created at: 2013/05/15 10:32:03
Running on machine: aboubakr
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0515 10:32:03.733144  3865 main.cpp:123] Creating "process" isolation module
I0515 10:32:03.733554  3865 main.cpp:131] Build: 2013-05-07 17:24:25 by aboubakr
I0515 10:32:03.733580  3865 main.cpp:132] Starting Mesos slave
I0515 10:32:03.734063  3880 slave.cpp:175] Slave started on 1)@127.0.1.1:51780
I0515 10:32:03.734108  3880 slave.cpp:176] Slave resources: cpus=4
I0515 10:32:03.735709  3880 slave.cpp:352] New master detected at 
[email protected]:5050
I0515 10:32:03.739258  3881 slave.cpp:372] Registered with master; given slave 
ID 201305151031-16842879-5050-3835-0
I0515 10:32:51.632652  3881 slave.cpp:637] Asked to shut down framework 
201305151031-16842879-5050-3835-0000
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
log for the framework :
 Registered!
//////////////////////////////////
I also tried to track the execution by inserting some prints on the screen, 
i've noticed that the exectuor is not called at all.

                  
> mesos 0.10.0 fails to build on  ubutu 13.04 
> --------------------------------------------
>
>                 Key: MESOS-464
>                 URL: https://issues.apache.org/jira/browse/MESOS-464
>             Project: Mesos
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.10.0
>         Environment: Ubuntu 13.04 32 bits, Ubuntu 12.04 LTS 32 bits
>            Reporter: Benabbas Aboubakr El Hacen
>              Labels: newbie
>             Fix For: 0.13.0
>
>
> I try to build mesos 0.10.0 on my machine by following the instructions on 
> the README file, but when i run make I get the following :
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> In file included from 
> ../third_party/boost-1.37.0/boost/uuid/random_generator.hpp:12:0,
>                  from 
> ../third_party/boost-1.37.0/boost/uuid/uuid_generators.hpp:17,
>                  from ../../third_party/libprocess/include/stout/uuid.hpp:11,
>                  from ../../src/master/master.cpp:31:
> ../third_party/boost-1.37.0/boost/uuid/seed_rng.hpp: In member function 'void 
> boost::uuids::detail::seed_rng::sha1_random_digest_()':
> ../third_party/boost-1.37.0/boost/uuid/seed_rng.hpp:153:53: warning: ignoring 
> return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with 
> attribute warn_unused_result [-Wunused-result]
> make[2]: *** [master/libmesos_no_third_party_la-master.lo] Error 1
> make[2]: Leaving directory `/home/aboubakr/Development/mesos-0.10.0/build/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/aboubakr/Development/mesos-0.10.0/build/src'
> make: *** [all-recursive] Error 1
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> I tried to find a solution to that by reading the other issues posted before, 
> but i could not understand them, besides they were for older version(12.04), 
> I would be grateful if you tell me in details the steps needed to build mesos 
> on my machine 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to