hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9331) Modify TestNameNodeMXBean#testNameNodeMXBeanInfo() to account for filesystem entirely allocated for DFS use
Date Wed, 28 Oct 2015 22:02:27 GMT

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

Tony Wu updated HDFS-9331:
--------------------------
    Attachment: HDFS-9331.001.patch

In v1 patch:
* Relax the check in {{TestNameNodeMXBean#testNameNodeMXBeanInfo}} to allow nonDFS size to
be 0.

> Modify TestNameNodeMXBean#testNameNodeMXBeanInfo() to account for filesystem entirely
allocated for DFS use
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-9331
>                 URL: https://issues.apache.org/jira/browse/HDFS-9331
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: HDFS, test
>    Affects Versions: 2.7.1
>            Reporter: Tony Wu
>            Assignee: Tony Wu
>            Priority: Trivial
>         Attachments: HDFS-9331.001.patch
>
>
> {{TestNameNodeMXBean#testNameNodeMXBeanInfo}} expects a none-zero nonDFS size. The nonDFS
size is defined as:
> {quote}
> The space that is not used by HDFS. For instance, once you format a new disk to ext4,
certain space is used for "lost-and-found" directory and ext4 metadata.
> {quote}
> It will be possible to fully allocate all spaces in a filesystem for DFS use. In which
case the nonDFS size will be zero. We can relax the check in the test to account for this
case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message