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

Property name should be included in the exception where property value is null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • None
    • Reviewed

    Description

      I saw the following when trying to determine startup failure:

      2014-01-21 06:07:17,871 FATAL [master:h2-centos6-uns-1390276854-hbase-10:60000] master.HMaster: 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)
      

      Property name should be included in the following exception:

          Preconditions.checkArgument(
              value != null,
              "Property value must not be null");
      

      Attachments

        1. HADOOP-10248.patch
          0.8 kB
          Akira Ajisaka
        2. HADOOP-10248.2.patch
          2 kB
          Akira Ajisaka

        Activity

          People

            aajisaka Akira Ajisaka
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: