hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-947) isReplicationInProgress() is very heavyweight
Date Fri, 16 Feb 2007 17:25:05 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473758
] 

dhruba borthakur commented on HADOOP-947:
-----------------------------------------

Hi wendy,

Thanks for the review. I made the change you requested. Can you pl give a
"+1" to the JIRA issue so that Nigel picks it up for the patch testing
process?

Thanks,
dhruba



> isReplicationInProgress() is very heavyweight
> ---------------------------------------------
>
>                 Key: HADOOP-947
>                 URL: https://issues.apache.org/jira/browse/HADOOP-947
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: isReplicationInProgress2.patch
>
>
> Suppose a decommission is in progress. The namenode receives a heartbeat from the being-decommissioned
node and then invokes isReplicationInProgress() to determine if the decommissioned is complete.
This method is very heavyweight and chews up plenty of CPU.
> One option to fix this issue is to keep a counter to indicate how many blocks are pending
replication.  This could also help in showing a progress-status-indicator to display how far
the decommissioning process is complete.

-- 
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