On 9/16/13 15:47 , Humpty Dumpty wrote:
> Hello Charles,
> 
> Thanks for reply.
> 
> Follow up clarification
> 
> When you say unset , does this mean i can just pass this variable as empty
> value when starting master and slave.
> 
> bin/mesos-master.sh --MESOS_NATIVE_LIBRARY=""
> 

I mean remove it from the environment variables, as with 'unset
MESOS_NATIVE_LIBRARY' in most shells. There is no 'native_library'-related
flag on mesos-master and mesos-slave. The MESOS_NATIVE_LIBRARY env. var. is
used by the Java bindings for Mesos, and mesos-slave and mesos-master don't
use those.


> Thanks
> On 17/09/2013 4:48 AM, "Charles Reiss" <[email protected]> wrote:
> 
>> On 9/14/13 15:56 , Humpty Dumpty wrote:
>>> Mesos 0.13
>>>
>>> I am trying to build it from source
>>>
>>> Wiith
>>>
>>> ./bootstrap
>>> ./configure
>>> make
>>>
>>> I ran master with commnad
>>>
>>> ./mesos-master.sh
>>>
>>> I am able to see master UI
>>>
>>> Now when i try to start slave on same machine i get error
>>>
>>> bin/mesos-slave.sh --master=127.0.0.1:5050
>>>
>>> Failed to load unknown flag 'native_library'
>>> Usage: lt-mesos-slave [...]
>>
>> Unset MESOS_NATIVE_LIBRARY in your environment when running mesos-slave or
>> mesos-master.
>>
>> Mesos daemons allow configuration to be set using env. vars. of the form
>> MESOS_XXX=YYY, which is equivalent to providing --xxx=YYY on their command
>> line. Mesos 0.13 checks these like command-line options and gives an error
>> for
>> unused flags. This error should no longer occur in Mesos 0.14
>> (
>> https://github.com/apache/mesos/commit/94d9c3ef35686dc1c6918b12018d704efc583a2b
>> ).
>>
>> - Charles
>>
>>
> 

Reply via email to