You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2007/07/18 05:18:05 UTC

[jira] Created: (HADOOP-1627) DFSAdmin incorrectly reports cluster data.

DFSAdmin incorrectly reports cluster data.
------------------------------------------

                 Key: HADOOP-1627
                 URL: https://issues.apache.org/jira/browse/HADOOP-1627
             Project: Hadoop
          Issue Type: Improvement
          Components: dfs
    Affects Versions: 0.13.0
            Reporter: Konstantin Shvachko
            Priority: Minor
             Fix For: 0.15.0


This is what dfsadmin -report currently prints.

{code}
hadoop:504>bin/hadoop dfsadmin -report
Total raw bytes: 1705541296128 (1.55 TB)
Used raw bytes: 1388220184240 (1.26 TB)
% used: 81.39%

Total effective bytes: 8388847 (8.00 MB)
Effective replication multiplier: 165484.0270945459
-------------------------------------------------
Datanodes available: 3

Name: alive.node.1:50077
State          : In Service
Total raw bytes: 60003868672 (55.88 GB)
Used raw bytes: 21500184005 (20.02 GB)
% used: 35.83%
Last contact: Tue Jul 17 19:58:00 PDT 2007


Name: alive.node.2:50077
State          : In Service
Total raw bytes: 1645537427456 (1.49 TB)
Used raw bytes: 1366720000235 (1.24 TB)
% used: 83.05%
Last contact: Tue Jul 17 19:58:01 PDT 2007


Name: dead.node:50077
State          : In Service
Total raw bytes: 0 (0.0 k)
Used raw bytes: 0 (0.0 k)
% used: NaN%
Last contact: Wed Nov 01 12:18:10 PST 2006
{code}

# "Effective replication multiplier" is confusing and prints a strange number
# Datanodes available: 3 - should count only live nodes.
# A dead node "State" should not be "In Service".
# "% used:" should not print "NaN%"
# We should synchronize dfsadmin reporting with the what we report via the web UI.
Field names and numbers should be the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.