hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Chu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5626) dfsadmin -report shows incorrect cache values
Date Tue, 03 Dec 2013 23:11:41 GMT
Stephen Chu created HDFS-5626:

             Summary: dfsadmin -report shows incorrect cache values
                 Key: HDFS-5626
                 URL: https://issues.apache.org/jira/browse/HDFS-5626
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: caching
    Affects Versions: 3.0.0
            Reporter: Stephen Chu

 I have a single node hadoop-trunk cluster that has caching enabled and datanode max locked
memory set to 536870912B.

When I run _dfsadmin -report_, I see the following:

[root@hdfs-c5-nfs hadoop_tar_confs]# hdfs dfsadmin -report
Configured Capacity: 50779643904 (47.29 GB)
Present Capacity: 43480281088 (40.49 GB)
DFS Remaining: 43480227840 (40.49 GB)
DFS Used: 53248 (52 KB)
DFS Used%: 0.00%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0

Datanodes available: 1 (1 total, 0 dead)

Live datanodes:
Name: (hdfs-c5-nfs.ent.cloudera.com)
Hostname: hdfs-c5-nfs.ent.cloudera.com
Decommission Status : Normal
Configured Capacity: 50779643904 (47.29 GB)
DFS Used: 53248 (52 KB)
Non DFS Used: 7299362816 (6.80 GB)
DFS Remaining: 43480227840 (40.49 GB)
DFS Used%: 0.00%
DFS Remaining%: 85.63%
Configured Cache Capacity: 50779643904 (0 B)
Cache Used: 0 (52 KB)
Cache Remaining: 0 (40.49 GB)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Last contact: Tue Dec 03 14:59:31 PST 2013

The values seem to be wrong. In configured cache capacity, we have listed 50779643904 but
in parantheses that is translated to (0B). The non-cache related values with parantheses have
correct translations.

It says that I've used 100% of the cache, but the system does not have any pools or directives.

Also, we see that we have 0 Cache remaining, but that is translated to (40.49GB).

This message was sent by Atlassian JIRA

View raw message