You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2012/10/17 22:46:04 UTC
[jira] [Created] (HDFS-4072) When deleting a file, it would be
better to also remove corresponding block records from
BlockManager#pendingReplications
Jing Zhao created HDFS-4072:
-------------------------------
Summary: When deleting a file, it would be better to also remove corresponding block records from BlockManager#pendingReplications
Key: HDFS-4072
URL: https://issues.apache.org/jira/browse/HDFS-4072
Project: Hadoop HDFS
Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Jing Zhao
Assignee: Jing Zhao
Priority: Minor
Currently when deleting a file, blockManager does not remove records that are corresponding to the file's blocks from pendingRelications. These records can only be removed after timeout (5~10 min).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HDFS-4072) When deleting a file, it would be
better to also remove corresponding block records from
BlockManager#pendingReplications
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas resolved HDFS-4072.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.3-alpha
3.0.0
Hadoop Flags: Reviewed
Committed the patch to trunk and branch-2. Thank you Jing.
> When deleting a file, it would be better to also remove corresponding block records from BlockManager#pendingReplications
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-4072
> URL: https://issues.apache.org/jira/browse/HDFS-4072
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 3.0.0
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Priority: Minor
> Fix For: 3.0.0, 2.0.3-alpha
>
> Attachments: HDFS-4072.patch, HDFS-4072.trunk.001.patch, HDFS-4072.trunk.002.patch, HDFS-4072.trunk.003.patch, HDFS-4072.trunk.004.patch, TestPendingAndDelete.java
>
>
> Currently when deleting a file, blockManager does not remove records that are corresponding to the file's blocks from pendingRelications. These records can only be removed after timeout (5~10 min).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira