hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Antal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-14030) Add query whether storage has been initialized to DN's JMXBean
Date Fri, 26 Oct 2018 09:30:00 GMT

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

Adam Antal updated HDFS-14030:
    Attachment: HDFS-14030.001.patch

> 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
>            Assignee: Adam Antal
>            Priority: Minor
>         Attachments: HDFS-14030.001.patch
> 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
> {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

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message