You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Marco Massenzio (JIRA)" <ji...@apache.org> on 2015/11/20 17:45:10 UTC

[jira] [Comment Edited] (MESOS-3935) mesos-master crashes when a scheduler with an unresolvable hostname attempts to connect

    [ https://issues.apache.org/jira/browse/MESOS-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009153#comment-15009153 ] 

Marco Massenzio edited comment on MESOS-3935 at 11/20/15 4:44 PM:
------------------------------------------------------------------

This looks like a name resolution issue for the *master's* hostname and not the scheduler's hostname. If looking up the hostname via ip doesn't work in your network, you can use {{-- hostname}} or {{--hostname_lookup}} flags.


was (Author: vinodkone):
This looks like a name resolution issue for the *master's* hostname and not the scheduler's hostname. If looking up the hostname via ip doesn't work in your network, you can use "--hostname" or "--hostname_lookup" flags.

> mesos-master crashes when a scheduler with an unresolvable hostname attempts to connect
> ---------------------------------------------------------------------------------------
>
>                 Key: MESOS-3935
>                 URL: https://issues.apache.org/jira/browse/MESOS-3935
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.25.0
>            Reporter: Hamza Faran
>
> {code}
> $ sudo mesos-master --ip=10.8.0.5 --work_dir=work_dir --authenticate --authenticate_slaves --credentials=credentials --port=5045                                                                                  
> I1117 07:05:15.371150  5852 main.cpp:229] Build: 2015-10-12 21:00:09 by root                                                                                                                                      
> I1117 07:05:15.371314  5852 main.cpp:231] Version: 0.25.0                                                                                                                                                         
> I1117 07:05:15.371340  5852 main.cpp:234] Git tag: 0.25.0                                                                                                                                                         
> I1117 07:05:15.371366  5852 main.cpp:238] Git SHA: 2dd7f7ee115fe00b8e098b0a10762a4fa8f4600f                                                                                                                       
> I1117 07:05:15.371439  5852 main.cpp:252] Using 'HierarchicalDRF' allocator                                                                                                                                       
> I1117 07:05:15.373845  5852 leveldb.cpp:176] Opened db in 2.267831ms                                                                                                                                              
> I1117 07:05:15.374606  5852 leveldb.cpp:183] Compacted db in 678911ns                                                                                                                                             
> I1117 07:05:15.374668  5852 leveldb.cpp:198] Created db iterator in 19310ns                                                                                                                                       
> I1117 07:05:15.374775  5852 leveldb.cpp:204] Seeked to beginning of db in 79269ns                                                                                                                                 
> I1117 07:05:15.374882  5852 leveldb.cpp:273] Iterated through 3 keys in the db in 79949ns                                                                                                                         
> I1117 07:05:15.374953  5852 replica.cpp:744] Replica recovered with log positions 91 -> 92 with 0 holes and 0 unlearned                                                                                           
> I1117 07:05:15.375820  5852 main.cpp:465] Starting Mesos master                                                                                                                                                   
> I1117 07:05:15.376049  5856 recover.cpp:449] Starting replica recovery                                                                                                                                            
> I1117 07:05:15.376188  5858 recover.cpp:475] Replica is in VOTING status                                                                                                                                          
> I1117 07:05:15.376332  5858 recover.cpp:464] Recover process terminated                                                                                                                                           
> F1117 07:05:43.398336  5852 master.cpp:330] Failed to get hostname: Temporary failure in name resolution                                                                                                          
> *** Check failure stack trace: ***                                                                                                                                                                                
>     @     0x7f55ebf4273d  google::LogMessage::Fail()                                                                                                                                                              
>     @     0x7f55ebf444d0  google::LogMessage::SendToLog()                                                                                                                                                         
>     @     0x7f55ebf42302  google::LogMessage::Flush()                                                                                                                                                             
>     @     0x7f55ebf44e59  google::LogMessageFatal::~LogMessageFatal()                                                                                                                                             
>     @     0x7f55eb7bef20  mesos::internal::master::Master::Master()                                                                                                                                               
>     @           0x41347e  main                                                                                                                                                                                    
>     @     0x7f55ea080a40  (unknown)                                                                                                                                                                               
>     @           0x414ff9  _start
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)