hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5215) dfs.datanode.du.reserved is not taking effect as it's not considered while getting the available space
Date Tue, 17 Sep 2013 02:09:51 GMT
Brahma Reddy Battula created HDFS-5215:
------------------------------------------

             Summary: dfs.datanode.du.reserved is not taking effect as it's not considered
while getting the available space
                 Key: HDFS-5215
                 URL: https://issues.apache.org/jira/browse/HDFS-5215
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode
            Reporter: Brahma Reddy Battula
            Assignee: Brahma Reddy Battula


public long getAvailable() throws IOException {
    long remaining = getCapacity()-getDfsUsed();
    long available = usage.getAvailable();
    if (remaining > available) {
      remaining = available;
    }
    return (remaining > 0) ? remaining : 0;
  }


Here we are not considering the reserved space while getting the Available Space.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message