The log shows that:   /tmp/mesos/...../.....

stderr:
sh: 1: mpd: not found
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0719 16:09:37.923478 22693 process_utils.hpp:64] Stopping ... 22697
Sent signal to 22697


stdout:Registered executor on harry-Hadoop0001
Starting task 0
sh -c 'mpd --noconsole --ncpus=1 --host=10.194.153.101 --port=35342'
Waited on process 22697, returned status 32512


I try which mpd, it works well.
I cannot figure out why the stderr file says like that...

It will be very nice of u to point out my faults.

Sincere thank!




2013/7/19 Ye Tao <[email protected]>

> Hello. I think my problem description in  the last letter is not clear.
>
> Actually, when I use mpiexec-mesos.py to submit a job.
>
> A driver is created.
>
>
> everytime when the function  mpiexec()  does not hv the time to run
> call([MPICH2PATH + 'mpiexec', '-1', '-n', str(TOTAL_MPDS)] + MPI_PROGRAM),
> the driver has got the info the task fails and mpdexit.
>
> Could u plz show me how to figure out the statusUpdate process. It seems
> that the control info is sealed in the mesos python model.
>
> I want to check why it returns TASK_FAIL...
>
>
> Sincere thank!
>
>
>
>
> 2013/7/18 Ye Tao <[email protected]>
>
>> Hi, here is the details:
>>
>> I use the latest mesos-trunk. (actually "svn co" several hours ago )
>>
>> I install mpich2-1.2 following the REAME file in mpi folder.
>>
>> I use an helloworld.c mpi example. u can find it in the attachment.
>>
>> I try mpiexec it works well:
>> [image: 内嵌图片 1]
>> then I try run it on mesos.
>> I set this machine both master and slave.
>>
>> Then I start cluster.
>> try the cmd in README:
>> ./mpiexec-mesos 10.194.153.83:5050 ./helloworld
>>
>> It breaks down at slave node immediately:
>> [image: 内嵌图片 3]
>>
>>
>> I check the log file:
>> I0718 18:08:27.232508  6672 slave.cpp:930] Queuing task '0' for executor
>> 0 of framework '201307181807-1402585610-5050-6498-0000
>> I0718 18:08:27.232519  6679 process_isolator.cpp:120] Launching 0
>> (/home/mesos/mesos/libexec/mesos/mesos-executor) in
>> /tmp/mesos/slaves/201307181807-1402585610-5050-6498-0/frameworks/201307181807-1402585610-5050-6498-0000/executors/0/runs/19cd7e79-10e5-42f2-8ab5-89c99366c19a
>> with resources ' for framework 201307181807-1402585610-5050-6498-0000
>> I0718 18:08:27.233882  6684 slave.cpp:514] Successfully attached file
>> '/tmp/mesos/slaves/201307181807-1402585610-5050-6498-0/frameworks/201307181807-1402585610-5050-6498-0000/executors/0/runs/19cd7e79-10e5-42f2-8ab5-89c99366c19a'
>> I0718 18:08:27.234824  6679 process_isolator.cpp:183] Forked executor at
>> 6776
>> I0718 18:08:27.278260  6675 slave.cpp:1382] Got registration for executor
>> '0' of framework 201307181807-1402585610-5050-6498-0000
>> I0718 18:08:27.278591  6675 slave.cpp:1497] Flushing queued task 0 for
>> executor '0' of framework 201307181807-1402585610-5050-6498-0000
>> I0718 18:08:27.281960  6687 status_update_manager.cpp:289] Received
>> status update TASK_RUNNING (UUID: 2ab26368-5521-497d-bd0f-578971f04931) for
>> task 0 of framework 201307181807-1402585610-5050-6498-0000 with
>> checkpoint=false
>> I0718 18:08:27.282130  6687 status_update_manager.cpp:449] Creating
>> StatusUpdate stream for task 0 of framework
>> 201307181807-1402585610-5050-6498-0000
>> I0718 18:08:27.282393  6687 status_update_manager.cpp:335] Forwarding
>> status update TASK_RUNNING (UUID: 2ab26368-5521-497d-bd0f-578971f04931) for
>> task 0 of framework 201307181807-1402585610-5050-6498-0000 to
>> [email protected]:5050
>> I0718 18:08:27.282613  6694 slave.cpp:1789] Sending acknowledgement for
>> status update TASK_RUNNING (UUID: 2ab26368-5521-497d-bd0f-578971f04931) for
>> task 0 of framework 201307181807-1402585610-5050-6498-0000 to executor(1)@
>> 10.194.153.83:36216
>> I0718 18:08:27.282976  6690 status_update_manager.cpp:289] Received
>> status update TASK_FAILED (UUID: 88eaee35-80d8-496a-ac81-e3099d78678d) for
>> task 0 of framework 201307181807-1402585610-5050-6498-0000 with
>> checkpoint=false
>> I0718 18:08:27.283299  6690 slave.cpp:1789] Sending acknowledgement for
>> status update TASK_FAILED (UUID: 88eaee35-80d8-496a-ac81-e3099d78678d) for
>> task 0 of framework 201307181807-1402585610-5050-6498-0000 to executor(1)@
>> 10.194.153.83:36216
>> I0718 18:08:27.283870  6683 status_update_manager.cpp:359] Received
>> status update acknowledgement 2ab26368-5521-497d-bd0f-578971f04931 for task
>> 0 of framework 201307181807-1402585610-5050-6498-0000
>> I0718 18:08:27.283989  6683 status_update_manager.cpp:335] Forwarding
>> status update TASK_FAILED (UUID: 88eaee35-80d8-496a-ac81-e3099d78678d) for
>> task 0 of framework 201307181807-1402585610-5050-6498-0000 to
>> [email protected]:5050
>> I0718 18:08:27.349282  6690 slave.cpp:1101] Asked to shut down framework
>> 201307181807-1402585610-5050-6498-0000 by [email protected]:5050
>>
>>
>>
>> It just suddenly failed...
>> I shall attach the logs of slave and master.
>> I follow the python code.
>> The slave just tells master it fails and the master directly shutdown the
>> framework.
>>
>> I can not figure out why.
>>
>> I really appreciate ur help!
>>
>> Best!
>>
>>
>>
>>
>

Reply via email to