You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Sai Sagar <js...@gmail.com> on 2014/08/19 08:54:49 UTC
URI of Executor is not recognized in mesos-0.18.1
Hi,
I compiled my executor with the following command
g++ executor.cpp -Lmesos-0.18.1/src/.libs/ -lmesos -I/usr/local/include
-Imesos-0.18.1/src/
-Imesos-0.18.1/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src/
-Imesos-0.18.1/3rdparty/libprocess/3rdparty/stout/include/
-Imesos-0.18.1/3rdparty/libprocess/3rdparty/glog-0.3.3/src/ -o executor
When my framework is given the executor information via URI in
mesos-0.18.1, it is not able to recognize the executor. But if I am giving
"src/test-executor" which is compiled during "make" in mesos, my framework
is recognizing the executor.
My question is how should I compile and give the information of executor to
Framework?
J. Sai Sagar
Software Engineer,
Innovation Labs
Impetus - Bangalore
https://www.linkedin.com/profile/view?id=248623976&trk=nav_
<https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
Re: URI of Executor is not recognized in mesos-0.18.1
Posted by Vinod Kone <vi...@gmail.com>.
Can you look in the executor sandbox (e.g.,
/tmp/mesos/slaves/.../frameworks/.../executors/.../runs/latest) and tell us
what the stdout and stderr file contents are?
On Tue, Aug 19, 2014 at 11:11 PM, Sai Sagar <js...@gmail.com> wrote:
> Also, in status message I am getting Executor Terminated message
>
> J. Sai Sagar
> Software Engineer,
> Innovation Labs
> Impetus - Bangalore
>
> https://www.linkedin.com/profile/view?id=248623976&trk=nav_
> <https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
>
>
>
> On Wed, Aug 20, 2014 at 11:13 AM, Sai Sagar <js...@gmail.com> wrote:
>
>> Hi,
>>
>> In the logs, I am getting the following message:
>>
>> I0820 11:10:53.440304 9713 launcher.cpp:120] Forked child with pid
>> '11499' for container 'afcf561f-99ec-4af7-bddd-9ba015926192'
>> I0820 11:10:53.441041 9712 slave.cpp:2001] Monitoring executor 'default'
>> of framework '20140820-102346-3281103040-5050-9694-0023' in container
>> 'afcf561f-99ec-4af7-bddd-9ba015926192'
>> I0820 11:10:54.440816 9706 mesos_containerizer.cpp:901] Executor for
>> container 'afcf561f-99ec-4af7-bddd-9ba015926192' has exited
>> I0820 11:10:54.440862 9706 mesos_containerizer.cpp:818] Destroying
>> container 'afcf561f-99ec-4af7-bddd-9ba015926192'
>> I0820 11:10:54.460223 9712 slave.cpp:2059] Executor 'default' of
>> framework 20140820-102346-3281103040-5050-9694-0023 has exited with status
>> 127
>>
>>
>> Thanks and Regards,
>> Sai
>>
>> J. Sai Sagar
>> Software Engineer,
>> Innovation Labs
>> Impetus - Bangalore
>>
>> https://www.linkedin.com/profile/view?id=248623976&trk=nav_
>> <https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
>>
>>
>>
>> On Tue, Aug 19, 2014 at 10:17 PM, Vinod Kone <vi...@gmail.com> wrote:
>>
>>> what is the error?
>>>
>>>
>>> On Mon, Aug 18, 2014 at 11:54 PM, Sai Sagar <js...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I compiled my executor with the following command
>>>>
>>>> g++ executor.cpp -Lmesos-0.18.1/src/.libs/ -lmesos -I/usr/local/include
>>>> -Imesos-0.18.1/src/
>>>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src/
>>>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/stout/include/
>>>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/glog-0.3.3/src/ -o executor
>>>>
>>>> When my framework is given the executor information via URI in
>>>> mesos-0.18.1, it is not able to recognize the executor. But if I am giving
>>>> "src/test-executor" which is compiled during "make" in mesos, my framework
>>>> is recognizing the executor.
>>>>
>>>> My question is how should I compile and give the information of
>>>> executor to Framework?
>>>>
>>>> J. Sai Sagar
>>>> Software Engineer,
>>>> Innovation Labs
>>>> Impetus - Bangalore
>>>>
>>>> https://www.linkedin.com/profile/view?id=248623976&trk=nav_
>>>> <https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
>>>>
>>>>
>>>
>>
>
Re: URI of Executor is not recognized in mesos-0.18.1
Posted by Sai Sagar <js...@gmail.com>.
Also, in status message I am getting Executor Terminated message
J. Sai Sagar
Software Engineer,
Innovation Labs
Impetus - Bangalore
https://www.linkedin.com/profile/view?id=248623976&trk=nav_
<https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
On Wed, Aug 20, 2014 at 11:13 AM, Sai Sagar <js...@gmail.com> wrote:
> Hi,
>
> In the logs, I am getting the following message:
>
> I0820 11:10:53.440304 9713 launcher.cpp:120] Forked child with pid
> '11499' for container 'afcf561f-99ec-4af7-bddd-9ba015926192'
> I0820 11:10:53.441041 9712 slave.cpp:2001] Monitoring executor 'default'
> of framework '20140820-102346-3281103040-5050-9694-0023' in container
> 'afcf561f-99ec-4af7-bddd-9ba015926192'
> I0820 11:10:54.440816 9706 mesos_containerizer.cpp:901] Executor for
> container 'afcf561f-99ec-4af7-bddd-9ba015926192' has exited
> I0820 11:10:54.440862 9706 mesos_containerizer.cpp:818] Destroying
> container 'afcf561f-99ec-4af7-bddd-9ba015926192'
> I0820 11:10:54.460223 9712 slave.cpp:2059] Executor 'default' of
> framework 20140820-102346-3281103040-5050-9694-0023 has exited with status
> 127
>
>
> Thanks and Regards,
> Sai
>
> J. Sai Sagar
> Software Engineer,
> Innovation Labs
> Impetus - Bangalore
>
> https://www.linkedin.com/profile/view?id=248623976&trk=nav_
> <https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
>
>
>
> On Tue, Aug 19, 2014 at 10:17 PM, Vinod Kone <vi...@gmail.com> wrote:
>
>> what is the error?
>>
>>
>> On Mon, Aug 18, 2014 at 11:54 PM, Sai Sagar <js...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I compiled my executor with the following command
>>>
>>> g++ executor.cpp -Lmesos-0.18.1/src/.libs/ -lmesos -I/usr/local/include
>>> -Imesos-0.18.1/src/
>>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src/
>>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/stout/include/
>>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/glog-0.3.3/src/ -o executor
>>>
>>> When my framework is given the executor information via URI in
>>> mesos-0.18.1, it is not able to recognize the executor. But if I am giving
>>> "src/test-executor" which is compiled during "make" in mesos, my framework
>>> is recognizing the executor.
>>>
>>> My question is how should I compile and give the information of executor
>>> to Framework?
>>>
>>> J. Sai Sagar
>>> Software Engineer,
>>> Innovation Labs
>>> Impetus - Bangalore
>>>
>>> https://www.linkedin.com/profile/view?id=248623976&trk=nav_
>>> <https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
>>>
>>>
>>
>
Re: URI of Executor is not recognized in mesos-0.18.1
Posted by Sai Sagar <js...@gmail.com>.
Hi,
In the logs, I am getting the following message:
I0820 11:10:53.440304 9713 launcher.cpp:120] Forked child with pid '11499'
for container 'afcf561f-99ec-4af7-bddd-9ba015926192'
I0820 11:10:53.441041 9712 slave.cpp:2001] Monitoring executor 'default'
of framework '20140820-102346-3281103040-5050-9694-0023' in container
'afcf561f-99ec-4af7-bddd-9ba015926192'
I0820 11:10:54.440816 9706 mesos_containerizer.cpp:901] Executor for
container 'afcf561f-99ec-4af7-bddd-9ba015926192' has exited
I0820 11:10:54.440862 9706 mesos_containerizer.cpp:818] Destroying
container 'afcf561f-99ec-4af7-bddd-9ba015926192'
I0820 11:10:54.460223 9712 slave.cpp:2059] Executor 'default' of framework
20140820-102346-3281103040-5050-9694-0023 has exited with status 127
Thanks and Regards,
Sai
J. Sai Sagar
Software Engineer,
Innovation Labs
Impetus - Bangalore
https://www.linkedin.com/profile/view?id=248623976&trk=nav_
<https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
On Tue, Aug 19, 2014 at 10:17 PM, Vinod Kone <vi...@gmail.com> wrote:
> what is the error?
>
>
> On Mon, Aug 18, 2014 at 11:54 PM, Sai Sagar <js...@gmail.com> wrote:
>
>> Hi,
>>
>> I compiled my executor with the following command
>>
>> g++ executor.cpp -Lmesos-0.18.1/src/.libs/ -lmesos -I/usr/local/include
>> -Imesos-0.18.1/src/
>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src/
>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/stout/include/
>> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/glog-0.3.3/src/ -o executor
>>
>> When my framework is given the executor information via URI in
>> mesos-0.18.1, it is not able to recognize the executor. But if I am giving
>> "src/test-executor" which is compiled during "make" in mesos, my framework
>> is recognizing the executor.
>>
>> My question is how should I compile and give the information of executor
>> to Framework?
>>
>> J. Sai Sagar
>> Software Engineer,
>> Innovation Labs
>> Impetus - Bangalore
>>
>> https://www.linkedin.com/profile/view?id=248623976&trk=nav_
>> <https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
>>
>>
>
Re: URI of Executor is not recognized in mesos-0.18.1
Posted by Vinod Kone <vi...@gmail.com>.
what is the error?
On Mon, Aug 18, 2014 at 11:54 PM, Sai Sagar <js...@gmail.com> wrote:
> Hi,
>
> I compiled my executor with the following command
>
> g++ executor.cpp -Lmesos-0.18.1/src/.libs/ -lmesos -I/usr/local/include
> -Imesos-0.18.1/src/
> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src/
> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/stout/include/
> -Imesos-0.18.1/3rdparty/libprocess/3rdparty/glog-0.3.3/src/ -o executor
>
> When my framework is given the executor information via URI in
> mesos-0.18.1, it is not able to recognize the executor. But if I am giving
> "src/test-executor" which is compiled during "make" in mesos, my framework
> is recognizing the executor.
>
> My question is how should I compile and give the information of executor
> to Framework?
>
> J. Sai Sagar
> Software Engineer,
> Innovation Labs
> Impetus - Bangalore
>
> https://www.linkedin.com/profile/view?id=248623976&trk=nav_
> <https://www.linkedin.com/pub/sai-sagar-jinka/6b/31b/748>
>
>