You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jonathan Hsieh (Updated) (JIRA)" <ji...@apache.org> on 2011/10/17 20:09:10 UTC

[jira] [Updated] (FLUME-796) Master fails to start if does not have a resolveable hostname

     [ https://issues.apache.org/jira/browse/FLUME-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh updated FLUME-796:
---------------------------------

    Reporter: Will McQueen  (was: Jonathan Hsieh)
    
> Master fails to start if does not have a  resolveable hostname
> --------------------------------------------------------------
>
>                 Key: FLUME-796
>                 URL: https://issues.apache.org/jira/browse/FLUME-796
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Will McQueen
>
> To duplicate:
> * As root, run 'hostname foobar'
> * Attempt to start the flume master. 
> You will see this error message:
> 2011-10-13 14:31:17,554 [main] ERROR util.NetUtils: Unable to get canonical host name! foobar: foobar
> java.net.UnknownHostException: foobar: foobar
> 	at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
> 	at com.cloudera.util.NetUtils.<clinit>(NetUtils.java:43)
> 	at com.cloudera.flume.master.FlumeMaster.inferMasterHostID(FlumeMaster.java:464)
> 	at com.cloudera.flume.master.FlumeMaster.main(FlumeMaster.java:533)
> 2011-10-13 14:31:17,560 [main] INFO master.FlumeMaster: Inferred master server index 0
> Later you may see:
> 2011-10-13 14:31:19,629 [main] INFO master.ZKInProcessServer: server 0.0.0.0:3181 not up yet

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira