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

Anu Engineer commented on HDFS-9735:
------------------------------------

That is a good question. This is how the current 
{{FsDatasetSpi#moveBlockAcrossStorage}} works. Since we don't have any bug 
reports pending against this code , and the fact that a very similar issue was 
explored in HDFS-9661 make me think that this code is stable. There is a 
potential that diskbalancer might expose this scenario more than the mover. Are 
you suggesting that  I expand the scope of Synchronized ? 

[~brahmareddy], [~vinayrpet] & [~arpitagarwal]  would guys please care to 
comment on the question from [~eddyxu]. Thanks in advance.

> DiskBalancer : Refactor moveBlockAcrossStorage to be used by disk balancer
> --------------------------------------------------------------------------
>
>                 Key: HDFS-9735
>                 URL: https://issues.apache.org/jira/browse/HDFS-9735
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>    Affects Versions: HDFS-1312
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>             Fix For: HDFS-1312
>
>         Attachments: HDFS-9735-HDFS-1312.001.patch, 
> HDFS-9735-HDFS-1312.002.patch
>
>
> Refactor moveBlockAcrossStorage so that code can be shared by both mover and 
> diskbalancer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to