I can see that USER environment variable is not set for mesos-slave process
from /proc/<pid>/environ.

On Fri, Mar 18, 2016 at 2:19 PM, Pradeep Chhetri <
pradeep.chhetr...@gmail.com> wrote:

> My mesos cluster also produces logs
> like mesos-slave.ip-172-31-45-33.invalid-user.log.ERROR. I guess log file
> name shouldnt affect you all because generally you ship these logs in some
> centralized logging system like logstash/splunk and search there by tags
>
> On Fri, Mar 18, 2016 at 1:46 PM, Peter Steele <pste...@peaxy.net> wrote:
>
>> What would you suggest to troubleshoot this? Clear something isn't quite
>> right if my log files are called "invalid-user". That said, I have managed
>> to get a containerized application up and running so whatever is wrong
>> isn't fatal. Just ugly...
>>
>>
>> On 03/17/2016 10:42 AM, haosdent wrote:
>>
>> Not sure why glog could not get USER environment variable correctly after
>> looking its code. But should not affect you running mesos.
>>
>> On Fri, Mar 18, 2016 at 1:11 AM, haosdent <haosd...@gmail.com> wrote:
>>
>>> root should be fine.
>>>
>>> On Fri, Mar 18, 2016 at 12:53 AM, Peter Steele < <pste...@peaxy.net>
>>> pste...@peaxy.net> wrote:
>>>
>>>> My USER var is root. Do I need to create a non-root user for mesos to
>>>> run under?
>>>>
>>>>
>>>> On 03/17/2016 09:22 AM, haosdent wrote:
>>>>
>>>> glog get the user name by environment variable "USER" in Linux.
>>>> <https://github.com/google/glog/blob/master/src/utilities.cc#L290-L302>
>>>> https://github.com/google/glog/blob/master/src/utilities.cc#L290-L302
>>>> I think you could check the environment variable "USER" before you start
>>>> Mesos slave.
>>>>
>>>> On Fri, Mar 18, 2016 at 12:19 AM, haosdent < <haosd...@gmail.com>
>>>> haosd...@gmail.com> wrote:
>>>>
>>>>> invalid-user is from glog
>>>>> https://github.com/google/glog/blob/master/src/logging.cc#L1036
>>>>>
>>>>> >W0317 06:26:41.178268   915 authenticator.cpp:511] No credentials
>>>>> provided, authentication requests will be refused
>>>>> >which I'm thinking might be related. What am I missing?
>>>>>
>>>>> I think should not related. This is a warning message if you don't
>>>>> pass `credentials` flag when start mesos master.
>>>>>
>>>>> On Thu, Mar 17, 2016 at 10:07 PM, Peter Steele < <pste...@peaxy.net>
>>>>> pste...@peaxy.net> wrote:
>>>>>
>>>>>> I'm testing out mesos for the first time and after installing the
>>>>>> software I'm seeing numerous log files of the form
>>>>>>
>>>>>> mesos-slave.<host>.invalid-user.log.INFO.20160317-062640.918
>>>>>>
>>>>>> I don't see any errors in the logs themselves, but the fact that
>>>>>> "invalid-user" is part of the name makes me think I'm missing something 
>>>>>> in
>>>>>> my config. The mesos-master.WARNING log has the message
>>>>>>
>>>>>> W0317 06:26:41.178268   915 authenticator.cpp:511] No credentials
>>>>>> provided, authentication requests will be refused
>>>>>>
>>>>>> which I'm thinking might be related. What am I missing?
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Haosdent Huang
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Haosdent Huang
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Haosdent Huang
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Haosdent Huang
>>
>>
>>
>
>
> --
> Regards,
> Pradeep Chhetri
>



-- 
Regards,
Pradeep Chhetri

Reply via email to