[ https://issues.apache.org/jira/browse/FLUME-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Paliwal resolved FLUME-796. ---------------------------------- Resolution: Won't Fix Fix Version/s: v0.9.5 Won't fix. 0.X branch not maintained anymore > 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 > Affects Versions: v0.9.4 > Reporter: Will McQueen > Fix For: v0.9.5 > > > 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 was sent by Atlassian JIRA (v6.3.4#6332)