Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10252

HttpServer can't start if hostname is not specified

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      HADOOP-8362 added a checking to make sure configuration values are not null. By default, we don't specify the hostname for the HttpServer. So we could not start info server due to

      2014-01-22 08:43:05,969 FATAL [M:0;localhost:48573] master.HMaster(2187): Unhandled exception. Starting shutdown.
      java.lang.IllegalArgumentException: Property value must not be null
      	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
      	at org.apache.hadoop.conf.Configuration.set(Configuration.java:958)
      	at org.apache.hadoop.conf.Configuration.set(Configuration.java:940)
      	at org.apache.hadoop.http.HttpServer.initializeWebServer(HttpServer.java:510)
      	at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:470)
      	at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:458)
      	at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:412)
      	at org.apache.hadoop.hbase.util.InfoServer.<init>(InfoServer.java:59)
      	at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:584)
      	at java.lang.Thread.run(Thread.java:722)

        Attachments

        1. hadoop-10252.patch
          2 kB
          Jimmy Xiang

          Issue Links

            Activity

              People

              • Assignee:
                jxiang Jimmy Xiang
                Reporter:
                jxiang Jimmy Xiang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: