hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10808) DiskBalancer does not execute multi-steps plan-redux
Date Mon, 29 Aug 2016 23:22:21 GMT

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

Lei (Eddy) Xu commented on HDFS-10808:

[~anu] Thanks for the explanations. 

* Is {{clearExitFlag()}} duplicated to {{setRunnable()}}?

* bq. Also we seem to have introduced some unintended side effects like some lines becoming

I don't follow why it becomes no-ops. If someone else have set exitFlag, either way (using
{{continue}} or {{break}}) here will stop the while loop, right? 
if (!shouldRun()) {

* If you put a {{clearExitFlag()}} in the  for loop:

for (Map.Entry<VolumePair, DiskBalancerWorkItem> entry :
            workMap.entrySet()) {
          blockMover.copyBlocks(entry.getKey(), entry.getValue());
 then {{diskbalancer -cancel}} command can not actually stop {{BlockMover}} thread for multiple
work items?

> DiskBalancer does not execute multi-steps plan-redux
> ----------------------------------------------------
>                 Key: HDFS-10808
>                 URL: https://issues.apache.org/jira/browse/HDFS-10808
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>         Attachments: HDFS-10808.001.patch
> This is to redo of the fix in HDFS-10598

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message