You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2010/06/30 04:00:54 UTC

[jira] Created: (HDFS-1276) Put the failed volumes in the report of HDFS status

Put the failed volumes in the report of HDFS status
---------------------------------------------------

                 Key: HDFS-1276
                 URL: https://issues.apache.org/jira/browse/HDFS-1276
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 0.21.0
            Reporter: Jeff Zhang
             Fix For: 0.21.0


Currently, users do not know which volumes are failed unless he looks into the logs, this way is not convenient for users. I plan to put the failed volumes in the report of HDFS. Then hdfs administers can use command "bin/hadoop dfsadmin -report" to find which volumes are failed.



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


[jira] Updated: (HDFS-1276) Put the failed volumes in the report of HDFS status

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

Jeff Zhang updated HDFS-1276:
-----------------------------

    Attachment: HDFS_1276.patch

Attach the patch. The unit test depends on the HDFS-1273. So I will attach the unit test after HDFS-1273 is committed

> Put the failed volumes in the report of HDFS status
> ---------------------------------------------------
>
>                 Key: HDFS-1276
>                 URL: https://issues.apache.org/jira/browse/HDFS-1276
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Jeff Zhang
>             Fix For: 0.21.0
>
>         Attachments: HDFS_1276.patch
>
>
> Currently, users do not know which volumes are failed unless he looks into the logs, this way is not convenient for users. I plan to put the failed volumes in the report of HDFS. Then hdfs administers can use command "bin/hadoop dfsadmin -report" to find which volumes are failed.

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


[jira] Commented: (HDFS-1276) Put the failed volumes in the report of HDFS status

Posted by "Jeff Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883764#action_12883764 ] 

Jeff Zhang commented on HDFS-1276:
----------------------------------

The new report output should like this ( the red line is the failed volumes information):

Configured Capacity: 118633709568 (110.49 GB)
Present Capacity: 85291678356 (79.43 GB)
DFS Remaining: 85291560960 (79.43 GB)
DFS Used: 117396 (114.64 KB)
DFS Used%: 0%
Under replicated blocks: 0
Blocks with corrupt replicas: 0
Missing blocks: 0

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

Live datanodes:
Name: 127.0.0.1:43452 (localhost)
Decommission Status : Normal
{color:red}Failed Volumns: /home/zjffdu/workspace/HDFS_trunk/build/test/data/dfs/data/data3{color}
Configured Capacity: 39544569856 (36.83 GB)
DFS Used: 44362 (43.32 KB)
Non DFS Used: 11114005174 (10.35 GB)
DFS Remaining: 28430520320 (26.48 GB)
DFS Used%: 0%
DFS Remaining%: 71.89%
Last contact: Wed Jun 30 10:06:17 CST 2010


Name: 127.0.0.1:52494 (localhost)
Decommission Status : Normal
Configured Capacity: 79089139712 (73.66 GB)
DFS Used: 73034 (71.32 KB)
Non DFS Used: 22228026038 (20.7 GB)
DFS Remaining: 56861040640 (52.96 GB)
DFS Used%: 0%
DFS Remaining%: 71.89%
Last contact: Wed Jun 30 10:06:19 CST 2010

> Put the failed volumes in the report of HDFS status
> ---------------------------------------------------
>
>                 Key: HDFS-1276
>                 URL: https://issues.apache.org/jira/browse/HDFS-1276
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Jeff Zhang
>             Fix For: 0.21.0
>
>
> Currently, users do not know which volumes are failed unless he looks into the logs, this way is not convenient for users. I plan to put the failed volumes in the report of HDFS. Then hdfs administers can use command "bin/hadoop dfsadmin -report" to find which volumes are failed.

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


[jira] Assigned: (HDFS-1276) Put the failed volumes in the report of HDFS status

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

Jeff Zhang reassigned HDFS-1276:
--------------------------------

    Assignee: Jeff Zhang

> Put the failed volumes in the report of HDFS status
> ---------------------------------------------------
>
>                 Key: HDFS-1276
>                 URL: https://issues.apache.org/jira/browse/HDFS-1276
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>         Attachments: HDFS_1276.patch
>
>
> Currently, users do not know which volumes are failed unless he looks into the logs, this way is not convenient for users. I plan to put the failed volumes in the report of HDFS. Then hdfs administers can use command "bin/hadoop dfsadmin -report" to find which volumes are failed.

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