[
https://issues.apache.org/jira/browse/HDFS-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913910#action_12913910
]
dhruba borthakur commented on HDFS-1403:
----------------------------------------
Ok, if this fix works only on currently-open files, then that will be fine. It
will automatically disallow fixing of files that are closed... sounds good.
> add -truncate option to fsck
> ----------------------------
>
> Key: HDFS-1403
> URL: https://issues.apache.org/jira/browse/HDFS-1403
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: hdfs client, name-node
> Reporter: sam rash
>
> When running fsck, it would be useful to be able to tell hdfs to truncate any
> corrupt file to the last valid position in the latest block. Then, when
> running hadoop fsck, an admin can cleanup the filesystem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.