hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4072) When deleting a file, it would be better to also remove corresponding block records from BlockManager#pendingReplications
Date Thu, 18 Oct 2012 06:24:04 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478722#comment-13478722
] 

Uma Maheswara Rao G commented on HDFS-4072:
-------------------------------------------

{quote}
I think the existing names are poorly named as well. Methods should be renamed:

1.add() to increment()
2.remove() to decrement()
3.New method remove that removes the block from the map
{quote}

We have discussed the same in HDFS-4022. That JIRA also planning to add the same APIs, as
per the comments. So, will just comment there to wait till this JIRA go in then, as patch
already updated here.
 
                
> 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
>         Attachments: HDFS-4072.trunk.001.patch, HDFS-4072.trunk.002.patch, HDFS-4072.trunk.003.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

Mime
View raw message