Adam Antal created HDFS-14030:
---------------------------------
Summary: Add query whether storage has been initialized to DN's
JMXBean
Key: HDFS-14030
URL: https://issues.apache.org/jira/browse/HDFS-14030
Project: Hadoop HDFS
Issue Type: Improvement
Components: hdfs
Reporter: Adam Antal
During the short period while the DN is starting and the storage is not yet
available we get the following errors:
{noformat}
ERROR org.apache.hadoop.jmx.JMXJsonServlet: getting attribute VolumeInfo of
Hadoop:service=DataNode,name=DataNodeInfo threw an exception
javax.management.RuntimeMBeanException: java.lang.NullPointerException: Storage
not yet initialized
{noformat}
I suggest to add an option to the DataNodeMXBean to query whether the storage
has been initialized or not to surpass the exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]