hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4761) Tool to give the block location and to check if the block at a given datanode is corrupt or not
Date Thu, 04 Dec 2008 18:18:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653395#action_12653395
] 

Konstantin Shvachko commented on HADOOP-4761:
---------------------------------------------

> I was looking for a utility which would tell if a block is corrupt or not given the block-id
OR given a datanode and a block-id/file

Why would you need that?
The problem here is that we do not have file system api's to access individual blocks. Which
gives us (developers) flexibility to change block-ids if we need to. E.g. it was particularly
changed recently when appends were introduced.
What you propose is a backdoor to HDFS internals, which in my opinion should not be supported
at all.

> Tool to give the block location and to check if the block at a given datanode is corrupt
or not
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4761
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4761
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: dfs
>            Reporter: Ramya R
>            Priority: Minor
>             Fix For: 0.20.0
>
>
> It would be useful if we could have a command line tool which would list out the location
of all the replicas of a block given a block-id/filename. Also, an utility to check if the
block at a given datanode is corrupt or not would be of great help in managing the cluster.

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


Mime
View raw message