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 BB85418F82 for ; Fri, 20 Nov 2015 05:42:11 +0000 (UTC) Received: (qmail 50639 invoked by uid 500); 20 Nov 2015 05:42:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 50579 invoked by uid 500); 20 Nov 2015 05:42:11 -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 50545 invoked by uid 99); 20 Nov 2015 05:42:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2015 05:42:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 019B92C1F5E for ; Fri, 20 Nov 2015 05:42:11 +0000 (UTC) Date: Fri, 20 Nov 2015 05:42:11 +0000 (UTC) From: "Vinayakumar B (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9038) Reserved space is erroneously counted towards non-DFS used. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-9038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15015256#comment-15015256 ] Vinayakumar B commented on HDFS-9038: ------------------------------------- bq. In DatanodeStorageInfo#toStorageReport, should the call to the StorageReport constructor pass along nonDfsUsed instead of hard-coding 0L? That was a good catch. [~cnauroth]. Apart from that everything else looks good to me as well. +1 once addressed. > Reserved space is erroneously counted towards non-DFS used. > ----------------------------------------------------------- > > Key: HDFS-9038 > URL: https://issues.apache.org/jira/browse/HDFS-9038 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 2.7.1 > Reporter: Chris Nauroth > Assignee: Brahma Reddy Battula > Attachments: HDFS-9038-002.patch, HDFS-9038.patch > > > HDFS-5215 changed the DataNode volume available space calculation to consider the reserved space held by the {{dfs.datanode.du.reserved}} configuration property. As a side effect, reserved space is now counted towards non-DFS used. I don't believe it was intentional to change the definition of non-DFS used. This issue proposes restoring the prior behavior: do not count reserved space towards non-DFS used. -- This message was sent by Atlassian JIRA (v6.3.4#6332)