You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Justin Becker <jb...@netflix.com> on 2013/09/19 19:58:13 UTC

mesos-slave.sh reporting Failed to load unknown flag 'native_library'

I've setup mesos 0.13.0 on mac osx 10.8.4 using Java 1.7.0_40 using the
instructions from the README.  Plus the hints from here,

https://github.com/airbnb/chronos/blob/master/docs/FAQ.md

The master starts up fine,

Build: 2013-09-19 10:01:46 by jbeck
I0919 10:17:03.554388 2107793792 main.cpp:115] Starting Mesos master
I0919 10:17:03.554576 69791744 master.cpp:226] Master started on
10.2.179.9:5050
I0919 10:17:03.554620 69791744 master.cpp:241] Master ID:
201309191017-162726410-5050-71833
W0919 10:17:03.554761 70328320 master.cpp:81] No whitelist given.
Advertising offers for all slaves
I0919 10:17:03.555735 69791744 master.cpp:530] Elected as master!
W0919 10:17:08.556380 68718592 master.cpp:81] No whitelist given.
Advertising offers for all

When I try to launch a slave the command line reports, 'Failed to load
unknown flag 'native_library''

./mesos-slave.sh --isolation=process --master=zk://10.2.179.9:5050
Failed to load unknown flag 'native_library'

Any other users have a similar experience?

Thanks,
Justin

Re: mesos-slave.sh reporting Failed to load unknown flag 'native_library'

Posted by Justin Becker <jb...@netflix.com>.
Ben,

Thanks for the heads up.  I commented out the export line in
mesos-slave-flags.sh, the slave started up with no problems.

Justin


On Thu, Sep 19, 2013 at 3:10 PM, Benjamin Hindman <
benjamin.hindman@gmail.com> wrote:

> Hey Justin,
>
> This looks like a bug. :( We cherry picked an incomplete set of patches
> for 0.13.0. This will be fixed in 0.14.0 (which we'd like to start the
> release process for imminently).
>
> In the mean time, you should be able to comment out the line 'export
> MESOS_NATIVE_LIBRARY' in mesos-slave.sh (or mesos-slave.sh.in assuming
> you regenerate the file by running 'configure').
>
> Let me know if that helps.
>
> Ben.
>
>
> On Thu, Sep 19, 2013 at 10:58 AM, Justin Becker <jb...@netflix.com> wrote:
>
>> I've setup mesos 0.13.0 on mac osx 10.8.4 using Java 1.7.0_40 using the
>> instructions from the README.  Plus the hints from here,
>>
>> https://github.com/airbnb/chronos/blob/master/docs/FAQ.md
>>
>> The master starts up fine,
>>
>> Build: 2013-09-19 10:01:46 by jbeck
>> I0919 10:17:03.554388 2107793792 main.cpp:115] Starting Mesos master
>> I0919 10:17:03.554576 69791744 master.cpp:226] Master started on
>> 10.2.179.9:5050
>> I0919 10:17:03.554620 69791744 master.cpp:241] Master ID:
>> 201309191017-162726410-5050-71833
>> W0919 10:17:03.554761 70328320 master.cpp:81] No whitelist given.
>> Advertising offers for all slaves
>> I0919 10:17:03.555735 69791744 master.cpp:530] Elected as master!
>> W0919 10:17:08.556380 68718592 master.cpp:81] No whitelist given.
>> Advertising offers for all
>>
>> When I try to launch a slave the command line reports, 'Failed to load
>> unknown flag 'native_library''
>>
>> ./mesos-slave.sh --isolation=process --master=zk://10.2.179.9:5050
>> Failed to load unknown flag 'native_library'
>>
>> Any other users have a similar experience?
>>
>> Thanks,
>> Justin
>>
>
>

Re: mesos-slave.sh reporting Failed to load unknown flag 'native_library'

Posted by Benjamin Hindman <be...@gmail.com>.
Hey Justin,

This looks like a bug. :( We cherry picked an incomplete set of patches for
0.13.0. This will be fixed in 0.14.0 (which we'd like to start the release
process for imminently).

In the mean time, you should be able to comment out the line 'export
MESOS_NATIVE_LIBRARY' in mesos-slave.sh (or mesos-slave.sh.in assuming you
regenerate the file by running 'configure').

Let me know if that helps.

Ben.


On Thu, Sep 19, 2013 at 10:58 AM, Justin Becker <jb...@netflix.com> wrote:

> I've setup mesos 0.13.0 on mac osx 10.8.4 using Java 1.7.0_40 using the
> instructions from the README.  Plus the hints from here,
>
> https://github.com/airbnb/chronos/blob/master/docs/FAQ.md
>
> The master starts up fine,
>
> Build: 2013-09-19 10:01:46 by jbeck
> I0919 10:17:03.554388 2107793792 main.cpp:115] Starting Mesos master
> I0919 10:17:03.554576 69791744 master.cpp:226] Master started on
> 10.2.179.9:5050
> I0919 10:17:03.554620 69791744 master.cpp:241] Master ID:
> 201309191017-162726410-5050-71833
> W0919 10:17:03.554761 70328320 master.cpp:81] No whitelist given.
> Advertising offers for all slaves
> I0919 10:17:03.555735 69791744 master.cpp:530] Elected as master!
> W0919 10:17:08.556380 68718592 master.cpp:81] No whitelist given.
> Advertising offers for all
>
> When I try to launch a slave the command line reports, 'Failed to load
> unknown flag 'native_library''
>
> ./mesos-slave.sh --isolation=process --master=zk://10.2.179.9:5050
> Failed to load unknown flag 'native_library'
>
> Any other users have a similar experience?
>
> Thanks,
> Justin
>