You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Abhishek Parolkar <ab...@parolkar.com> on 2013/10/01 18:49:24 UTC

Cannot parse '@0.0.0.0:0' on my first run of Mesos

Hi There,
  I am playing with mesos on a single box, I started  master & slave, I can
confirm that through master UI.

When I try to run
$ src/test-framework --master=127.0.0.1:5050

I get
Cannot parse '@0.0.0.0:0'
(stuck)



I am on mesos-0.13.0 and used following commands to start master and slave

bin/mesos-master.sh
bin/mesos-slave.sh --master=127.0.0.1:5050



Please help!

-A

Re: Cannot parse '@0.0.0.0:0' on my first run of Mesos

Posted by Benjamin Mahler <be...@gmail.com>.
Can you run it as follows to increase the logging level:

$ GLOG_v=3 bin/mesos-slave.sh --master=127.0.0.1:5050

Or try:

$ bin/mesos-slave.sh --master=localhost:5050


On Tue, Oct 1, 2013 at 9:49 AM, Abhishek Parolkar <ab...@parolkar.com>wrote:

> Hi There,
>   I am playing with mesos on a single box, I started  master & slave, I
> can confirm that through master UI.
>
> When I try to run
> $ src/test-framework --master=127.0.0.1:5050
>
> I get
> Cannot parse '@0.0.0.0:0'
> (stuck)
>
>
>
> I am on mesos-0.13.0 and used following commands to start master and slave
>
> bin/mesos-master.sh
> bin/mesos-slave.sh --master=127.0.0.1:5050
>
>
>
> Please help!
>
> -A
>

Re: Cannot parse '@0.0.0.0:0' on my first run of Mesos

Posted by Vinod Kone <vi...@gmail.com>.
Good find Abhishek!

The website discrepancy is because the the command line arg to
test-framework changed after 0.13.0 to "--master=<ip:port>". We have plans
to have documentation tagged with release version to avoid these issues in
the future.



On Fri, Oct 4, 2013 at 8:05 AM, Abhishek Parolkar <ab...@parolkar.com>wrote:

> Oh Boy! the issue was with the way I was running the test framework.
>
> Getting started document (http://screencast.com/t/fOKK6jyv9d6B) specifies
> the misleading syntax
> src/test-framework --master=localhost:5050
> The correct one is:
> src/test-framework 127.0.0.1:5050
>
> Please kindly update the documentation. It might save someone a day :)
>
> Thanks for the help!
>
>
>
> On Fri, Oct 4, 2013 at 1:26 AM, Benjamin Mahler <benjamin.mahler@gmail.com
> > wrote:
>
>> From your logs, the slave and master are connecting correctly.
>>
>> You said you only had issues running the test framework?
>> Can you show the logs from that, including with GLOG_v=3?
>>
>>
>> On Thu, Oct 3, 2013 at 8:31 AM, Abhishek Parolkar <ab...@parolkar.com>wrote:
>>
>>> @Benjamin,
>>>   My master is bound to 127.0.0.1 by default (event when I supplied --ip
>>> switch)
>>>
>>> $bin/mesos-master.sh --ip=0.0.0.0
>>> I1003 15:21:37.827172 31430 main.cpp:114] Build: 2013-09-29 16:44:16 by
>>> vagrant
>>> I1003 15:21:37.827404 31430 main.cpp:115] Starting Mesos master
>>> I1003 15:21:37.828481 31445 master.cpp:226] Master started on
>>> 127.0.0.1:5050
>>>
>>>
>>>
>>> I tried using localhost vs 127.0.0.1 it still has the same issue. I am
>>> hitting a block here, what would you guys suggest?
>>>
>>> This is my slave log :http://pastie.org/8375079
>>> Master log: http://pastie.org/8375085
>>>
>>>
>>> Please help.
>>>
>>> -A
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Oct 2, 2013 at 4:17 AM, Benjamin Hindman <
>>> benjamin.hindman@gmail.com> wrote:
>>>
>>>> What IP did the master bind to when you started it up (it should be in
>>>> the logs)? There have been some issues in the past with 127.0.0.1. Try
>>>> localhost or use the IP the master bound to.
>>>>
>>>>
>>>> On Tue, Oct 1, 2013 at 9:49 AM, Abhishek Parolkar <
>>>> abhishek@parolkar.com> wrote:
>>>>
>>>>> Hi There,
>>>>>   I am playing with mesos on a single box, I started  master & slave,
>>>>> I can confirm that through master UI.
>>>>>
>>>>> When I try to run
>>>>> $ src/test-framework --master=127.0.0.1:5050
>>>>>
>>>>> I get
>>>>> Cannot parse '@0.0.0.0:0'
>>>>> (stuck)
>>>>>
>>>>>
>>>>>
>>>>> I am on mesos-0.13.0 and used following commands to start master and
>>>>> slave
>>>>>
>>>>> bin/mesos-master.sh
>>>>> bin/mesos-slave.sh --master=127.0.0.1:5050
>>>>>
>>>>>
>>>>>
>>>>> Please help!
>>>>>
>>>>> -A
>>>>>
>>>>
>>>>
>>>
>>
>

Re: Cannot parse '@0.0.0.0:0' on my first run of Mesos

Posted by Abhishek Parolkar <ab...@parolkar.com>.
Oh Boy! the issue was with the way I was running the test framework.

Getting started document (http://screencast.com/t/fOKK6jyv9d6B) specifies
the misleading syntax
src/test-framework --master=localhost:5050
The correct one is:
src/test-framework 127.0.0.1:5050

Please kindly update the documentation. It might save someone a day :)

Thanks for the help!


On Fri, Oct 4, 2013 at 1:26 AM, Benjamin Mahler
<be...@gmail.com>wrote:

> From your logs, the slave and master are connecting correctly.
>
> You said you only had issues running the test framework?
> Can you show the logs from that, including with GLOG_v=3?
>
>
> On Thu, Oct 3, 2013 at 8:31 AM, Abhishek Parolkar <ab...@parolkar.com>wrote:
>
>> @Benjamin,
>>   My master is bound to 127.0.0.1 by default (event when I supplied --ip
>> switch)
>>
>> $bin/mesos-master.sh --ip=0.0.0.0
>> I1003 15:21:37.827172 31430 main.cpp:114] Build: 2013-09-29 16:44:16 by
>> vagrant
>> I1003 15:21:37.827404 31430 main.cpp:115] Starting Mesos master
>> I1003 15:21:37.828481 31445 master.cpp:226] Master started on
>> 127.0.0.1:5050
>>
>>
>>
>> I tried using localhost vs 127.0.0.1 it still has the same issue. I am
>> hitting a block here, what would you guys suggest?
>>
>> This is my slave log :http://pastie.org/8375079
>> Master log: http://pastie.org/8375085
>>
>>
>> Please help.
>>
>> -A
>>
>>
>>
>>
>>
>> On Wed, Oct 2, 2013 at 4:17 AM, Benjamin Hindman <
>> benjamin.hindman@gmail.com> wrote:
>>
>>> What IP did the master bind to when you started it up (it should be in
>>> the logs)? There have been some issues in the past with 127.0.0.1. Try
>>> localhost or use the IP the master bound to.
>>>
>>>
>>> On Tue, Oct 1, 2013 at 9:49 AM, Abhishek Parolkar <abhishek@parolkar.com
>>> > wrote:
>>>
>>>> Hi There,
>>>>   I am playing with mesos on a single box, I started  master & slave, I
>>>> can confirm that through master UI.
>>>>
>>>> When I try to run
>>>> $ src/test-framework --master=127.0.0.1:5050
>>>>
>>>> I get
>>>> Cannot parse '@0.0.0.0:0'
>>>> (stuck)
>>>>
>>>>
>>>>
>>>> I am on mesos-0.13.0 and used following commands to start master and
>>>> slave
>>>>
>>>> bin/mesos-master.sh
>>>> bin/mesos-slave.sh --master=127.0.0.1:5050
>>>>
>>>>
>>>>
>>>> Please help!
>>>>
>>>> -A
>>>>
>>>
>>>
>>
>

Re: Cannot parse '@0.0.0.0:0' on my first run of Mesos

Posted by Benjamin Mahler <be...@gmail.com>.
>From your logs, the slave and master are connecting correctly.

You said you only had issues running the test framework?
Can you show the logs from that, including with GLOG_v=3?


On Thu, Oct 3, 2013 at 8:31 AM, Abhishek Parolkar <ab...@parolkar.com>wrote:

> @Benjamin,
>   My master is bound to 127.0.0.1 by default (event when I supplied --ip
> switch)
>
> $bin/mesos-master.sh --ip=0.0.0.0
> I1003 15:21:37.827172 31430 main.cpp:114] Build: 2013-09-29 16:44:16 by
> vagrant
> I1003 15:21:37.827404 31430 main.cpp:115] Starting Mesos master
> I1003 15:21:37.828481 31445 master.cpp:226] Master started on
> 127.0.0.1:5050
>
>
>
> I tried using localhost vs 127.0.0.1 it still has the same issue. I am
> hitting a block here, what would you guys suggest?
>
> This is my slave log :http://pastie.org/8375079
> Master log: http://pastie.org/8375085
>
>
> Please help.
>
> -A
>
>
>
>
>
> On Wed, Oct 2, 2013 at 4:17 AM, Benjamin Hindman <
> benjamin.hindman@gmail.com> wrote:
>
>> What IP did the master bind to when you started it up (it should be in
>> the logs)? There have been some issues in the past with 127.0.0.1. Try
>> localhost or use the IP the master bound to.
>>
>>
>> On Tue, Oct 1, 2013 at 9:49 AM, Abhishek Parolkar <ab...@parolkar.com>wrote:
>>
>>> Hi There,
>>>   I am playing with mesos on a single box, I started  master & slave, I
>>> can confirm that through master UI.
>>>
>>> When I try to run
>>> $ src/test-framework --master=127.0.0.1:5050
>>>
>>> I get
>>> Cannot parse '@0.0.0.0:0'
>>> (stuck)
>>>
>>>
>>>
>>> I am on mesos-0.13.0 and used following commands to start master and
>>> slave
>>>
>>> bin/mesos-master.sh
>>> bin/mesos-slave.sh --master=127.0.0.1:5050
>>>
>>>
>>>
>>> Please help!
>>>
>>> -A
>>>
>>
>>
>

Re: Cannot parse '@0.0.0.0:0' on my first run of Mesos

Posted by Abhishek Parolkar <ab...@parolkar.com>.
@Benjamin,
  My master is bound to 127.0.0.1 by default (event when I supplied --ip
switch)

$bin/mesos-master.sh --ip=0.0.0.0
I1003 15:21:37.827172 31430 main.cpp:114] Build: 2013-09-29 16:44:16 by
vagrant
I1003 15:21:37.827404 31430 main.cpp:115] Starting Mesos master
I1003 15:21:37.828481 31445 master.cpp:226] Master started on 127.0.0.1:5050



I tried using localhost vs 127.0.0.1 it still has the same issue. I am
hitting a block here, what would you guys suggest?

This is my slave log :http://pastie.org/8375079
Master log: http://pastie.org/8375085


Please help.

-A





On Wed, Oct 2, 2013 at 4:17 AM, Benjamin Hindman <benjamin.hindman@gmail.com
> wrote:

> What IP did the master bind to when you started it up (it should be in the
> logs)? There have been some issues in the past with 127.0.0.1. Try
> localhost or use the IP the master bound to.
>
>
> On Tue, Oct 1, 2013 at 9:49 AM, Abhishek Parolkar <ab...@parolkar.com>wrote:
>
>> Hi There,
>>   I am playing with mesos on a single box, I started  master & slave, I
>> can confirm that through master UI.
>>
>> When I try to run
>> $ src/test-framework --master=127.0.0.1:5050
>>
>> I get
>> Cannot parse '@0.0.0.0:0'
>> (stuck)
>>
>>
>>
>> I am on mesos-0.13.0 and used following commands to start master and slave
>>
>> bin/mesos-master.sh
>> bin/mesos-slave.sh --master=127.0.0.1:5050
>>
>>
>>
>> Please help!
>>
>> -A
>>
>
>

Re: Cannot parse '@0.0.0.0:0' on my first run of Mesos

Posted by Benjamin Hindman <be...@gmail.com>.
What IP did the master bind to when you started it up (it should be in the
logs)? There have been some issues in the past with 127.0.0.1. Try
localhost or use the IP the master bound to.


On Tue, Oct 1, 2013 at 9:49 AM, Abhishek Parolkar <ab...@parolkar.com>wrote:

> Hi There,
>   I am playing with mesos on a single box, I started  master & slave, I
> can confirm that through master UI.
>
> When I try to run
> $ src/test-framework --master=127.0.0.1:5050
>
> I get
> Cannot parse '@0.0.0.0:0'
> (stuck)
>
>
>
> I am on mesos-0.13.0 and used following commands to start master and slave
>
> bin/mesos-master.sh
> bin/mesos-slave.sh --master=127.0.0.1:5050
>
>
>
> Please help!
>
> -A
>