Hadoop Common
  1. Hadoop Common
  2. HADOOP-10248

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      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");
      
      1. HADOOP-10248.2.patch
        2 kB
        Akira AJISAKA
      2. HADOOP-10248.patch
        0.8 kB
        Akira AJISAKA

        Activity

        Ted Yu created issue -
        Akira AJISAKA made changes -
        Field Original Value New Value
        Attachment HADOOP-10248.patch [ 12624249 ]
        Akira AJISAKA made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 2.2.0 [ 12325048 ]
        Target Version/s 2.4.0 [ 12324587 ]
        Labels newbie
        Assignee Akira AJISAKA [ ajisakaa ]
        Akira AJISAKA made changes -
        Attachment HADOOP-10248.2.patch [ 12624307 ]
        Uma Maheswara Rao G made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Fix Version/s 2.3.0 [ 12325254 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Allen Wittenauer made changes -
        Fix Version/s 3.0.0 [ 12320357 ]

          People

          • Assignee:
            Akira AJISAKA
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development