Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-796

Master fails to start if does not have a resolveable hostname

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.9.4
    • 0.9.5
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            will@cloudera.com Will McQueen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: