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 "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2008/09/26 01:03:44 UTC

[jira] Created: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Capacity reported in some of the commands is not consistent with the Web UI reported data
-----------------------------------------------------------------------------------------

                 Key: HADOOP-4281
                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
             Project: Hadoop Core
          Issue Type: Bug
    Affects Versions: 0.19.0
            Reporter: Suresh Srinivas
            Assignee: Suresh Srinivas
             Fix For: 0.20.0


Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635039#action_12635039 ] 

Hairong Kuang commented on HADOOP-4281:
---------------------------------------

I would prefer to make this change to be part of release 19. It's nicer to make the user-facing interfaces to be consistent in one release.

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.0
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636024#action_12636024 ] 

Hudson commented on HADOOP-4281:
--------------------------------

Integrated in Hadoop-trunk #620 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/620/])
    . Change dfsadmin to report available disk space in a format
consistent with the web interface as defined in HADOOP-2816. Contributed by
Suresh Srinivas


> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635685#action_12635685 ] 

Hadoop QA commented on HADOOP-4281:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12391171/HADOOP-4281.patch
  against trunk revision 700322.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    -1 core tests.  The patch failed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3400/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3400/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3400/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3400/console

This message is automatically generated.

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635553#action_12635553 ] 

Hairong Kuang commented on HADOOP-4281:
---------------------------------------

The patch looks good. I have two minor comments:
1. In DFSAdmin.java, it would be nice to switch the following two statements
+ long presentCapacity = ds.getDfsUsed() + ds.getRemaining();
+ long used = ds.getDfsUsed();
to be
      long used = ds.getDfsUsed();
      long presentCapacity = used + ds.getRemaining();
 2. In DatanodeInfo.toString, it would be nice to use dfs.getDfsUsedPercent() to calculate the %Used.

I think Suresh meant to mark this issue as a block to 0.19. I will mark it for him.


> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Updated: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-4281:
------------------------------------

    Attachment: HADOOP-4281.patch

Updated patch based on the comments

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Updated: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HADOOP-4281:
----------------------------------

    Fix Version/s:     (was: 0.20.0)
                   0.19.0

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635783#action_12635783 ] 

Suresh Srinivas commented on HADOOP-4281:
-----------------------------------------

HDFS test TestLeaseRecovery2 is failing. It is unrelated to this change (it is failing for other patches too)

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Updated: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-4281:
------------------------------------

    Priority: Blocker  (was: Major)

Changed the priority to blocker. Without this change the capacity reports from the Web UI and the hadoop dfsadmin -report command is incompatible.

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635593#action_12635593 ] 

Hairong Kuang commented on HADOOP-4281:
---------------------------------------

+1. The patch looks good.

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634691#action_12634691 ] 

Arun C Murthy commented on HADOOP-4281:
---------------------------------------

Shouldn't this be a blocker for 0.19.0?

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.0
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Updated: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated HADOOP-4281:
----------------------------------

      Resolution: Fixed
    Hadoop Flags: [Incompatible change, Reviewed]  (was: [Reviewed, Incompatible change])
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Suresh

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Updated: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-4281:
------------------------------------

     Component/s: dfs
    Hadoop Flags: [Incompatible change, Reviewed]  (was: [Reviewed, Incompatible change])

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635025#action_12635025 ] 

Suresh Srinivas commented on HADOOP-4281:
-----------------------------------------

The change introduces new definition of an item in the report and an additional item that did not exist. This certainly makes Web UI and commands incompatible. Since the report information is not used for building any critical functionality, it should not introduce any major issues.

Hairong, can you please comment?

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.0
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Updated: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Chansler updated HADOOP-4281:
------------------------------------

    Release Note: Changed command "hadoop dfsadmin -report" to be consistent with Web UI for both Namenode and Datanode reports. "Total raw bytes" is changed to "Configured Capacity". "Present Capacity" is newly added to indicate the present capacity of the DFS. "Remaining raw bytes" is changed to "DFS Remaining". "Used raw bytes" is changed to "DFS Used". "% used" is changed to "DFS Used%". Applications that parse command output should be reviewed.  (was: Changes made (See corresponding Web UI change in 2816), to the command "hadoop dfsadmin -report". The following changes are made for both Namenode and Datanode reports:
- "Total raw bytes" is changed to "Configured Capacity". Previously this data included the disk space for all the data directories. Now it excludes reserved space configured using dfs.datanode.du.reserved config param.
- "Present Capacity" is newly added to indicate the present capacity of the DFS. This is sum of the remaining and used capacity.
- "Remaining raw bytes" is changed to "DFS Remaining"
- "Used raw bytes" is changed to "DFS Used"
- "% used" is changed to "DFS Used%". It is the percentage of used capacity over "Present Capacity" instead of "Total raw bytes".)
    Hadoop Flags: [Incompatible change, Reviewed]  (was: [Reviewed, Incompatible change])

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Updated: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-4281:
------------------------------------

    Attachment: HADOOP-4281.patch

All the unit tests passed. Here is the result of ant test-patch. The automated tests for this change was submitted as a part of 2816.

     [exec] -1 overall.  

     [exec]     +1 @author.  The patch does not contain any @author tags.

     [exec]     -1 tests included.  The patch doesn't appear to include any new or modified tests.
     [exec]                         Please justify why no tests are needed for this patch.

     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.

     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.

     [exec]     +1 Eclipse classpath. The patch retains Eclipse classpath integrity.


Here is the New report with the change compared to the old report
============================================================================================================================
cdev10 04:23:26 ~/hadoop-core-trunk/build/hadoop-0.20.0-dev $ bin/hadoop dfsadmin -report
08/09/27 04:23:48 WARN fs.FileSystem: "localhost:9000" is a deprecated filesystem name. Use "hdfs://localhost:9000/" instead.
08/09/27 04:23:48 WARN fs.FileSystem: "localhost:9000" is a deprecated filesystem name. Use "hdfs://localhost:9000/" instead.
Upgrade for version -18 has been completed.
Upgrade is not finalized.
Configured Capacity: 6339239936 (5.9 GB)
Present Capacity: 3782686528 (3.52 GB)
DFS Remaining: 2781669184 (2.59 GB)
DFS Used: 1001017344 (954.64 MB)
DFS Used%: 26.46%

-------------------------------------------------
Datanodes available: 1 (1 total, 0 dead)

Name: 127.0.0.1:50010
Decommission Status : Normal
Configured Capacity: 6339239936 (5.9 GB)
Present Capacity: 3782686528 (3.52 GB)
DFS Remaining: 2781669184(2.59 GB)
DFS Used: 1001017344 (954.64 MB)
DFS Used%: 26.46%
Last contact: Sat Sep 27 04:23:46 UTC 2008



Old report
============================================================================================================================
ucdev10 04:44:22 ~/hadoop-core-trunk/build/hadoop-0.20.0-dev $ bin/hadoop dfsadmin -report
08/09/27 04:44:41 WARN fs.FileSystem: "localhost:9000" is a deprecated filesystem name. Use "hdfs://localhost:9000/" instead.
08/09/27 04:44:41 WARN fs.FileSystem: "localhost:9000" is a deprecated filesystem name. Use "hdfs://localhost:9000/" instead.
Upgrade for version -18 has been completed.
Upgrade is not finalized.
Total raw bytes: 6339239936 (5.9 GB)
Remaining raw bytes: 2781641085 (2.59 GB)
Used raw bytes: 1001017344 (954.64 MB)
% used: 15.79%

-------------------------------------------------
Datanodes available: 1 (1 total, 0 dead)

Name: 127.0.0.1:50010
Decommission Status : Normal
Total raw bytes: 6339239936 (5.9 GB)
Remaining raw bytes: 2781641085(2.59 GB)
Used raw bytes: 1001017344 (954.64 MB)
% used: 15.79%
Last contact: Sat Sep 27 04:44:39 UTC 2008
============================================================================================================================


> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Updated: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-4281:
------------------------------------

    Release Note: 
Changes made (See corresponding Web UI change in 2816), to the command "hadoop dfsadmin -report". The following changes are made for both Namenode and Datanode reports:
- "Total raw bytes" is changed to "Configured Capacity". Previously this data included the disk space for all the data directories. Now it excludes reserved space configured using dfs.datanode.du.reserved config param.
- "Present Capacity" is newly added to indicate the present capacity of the DFS. This is sum of the remaining and used capacity.
- "Remaining raw bytes" is changed to "DFS Remaining"
- "Used raw bytes" is changed to "DFS Used"
- "% used" is changed to "DFS Used%". It is the percentage of used capacity over "Present Capacity" instead of "Total raw bytes".
    Hadoop Flags: [Incompatible change, Reviewed]
          Status: Patch Available  (was: Open)

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4281.patch, HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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


[jira] Commented: (HADOOP-4281) Capacity reported in some of the commands is not consistent with the Web UI reported data

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635491#action_12635491 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4281:
------------------------------------------------

Should this be a blocker of 0.19?

> Capacity reported in some of the commands is not consistent with the Web UI reported data
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4281
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4281
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.19.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4281.patch
>
>
> Changes submitted for 2816 changed the Web UI to report the capacity differently. The same changes need to be applied to commands that show namenode and datanode capacities

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