hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10248) Property name should be included in the exception where property value is null
Date Wed, 22 Jan 2014 09:10:20 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akira AJISAKA updated HADOOP-10248:
-----------------------------------

    Attachment: HADOOP-10248.2.patch

Added test to verify error messages.

> 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
>    Affects Versions: 2.2.0
>            Reporter: Ted Yu
>            Assignee: Akira AJISAKA
>              Labels: newbie
>         Attachments: HADOOP-10248.2.patch, HADOOP-10248.patch
>
>
> 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)

Mime
View raw message