Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C64B618E2D for ; Wed, 28 Oct 2015 21:59:29 +0000 (UTC) Received: (qmail 8189 invoked by uid 500); 28 Oct 2015 21:59:28 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 7709 invoked by uid 500); 28 Oct 2015 21:59:28 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 7662 invoked by uid 99); 28 Oct 2015 21:59:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 21:59:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E99162C1F81 for ; Wed, 28 Oct 2015 21:59:27 +0000 (UTC) Date: Wed, 28 Oct 2015 21:59:27 +0000 (UTC) From: "Tony Wu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-9331) Modify TestNameNodeMXBean#testNameNodeMXBeanInfo() to account for filesystem entirely allocated for DFS use MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tony Wu created HDFS-9331: ----------------------------- Summary: 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 {{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 partition/volume 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)