Ted Yu created HADOOP-10248:
-------------------------------

             Summary: Property name should be included in the exception where 
property value is null
                 Key: HADOOP-10248
                 URL: https://issues.apache.org/jira/browse/HADOOP-10248
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Ted Yu


I saw the following when trying to determine startup failure:
{code}
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)
{code}
Property name should be included in the following exception:
{code}
    Preconditions.checkArgument(
        value != null,
        "Property value must not be null");
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to