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

Ayush Saxena commented on HDFS-15655:
-------------------------------------

Thanx [~hadoop_yangyun] for the patch. I had a quick look, Seems good, I need 
to go through it once more though.
Just to confirm, did you manage to check compatibility, means server running 
with this patch and client calling getBlocks without this and confirm there is 
no behaviour change and nothing is broken.
If possible do help confirm that as well, I too would try double check once.

> Add option to make balancer prefer to get cold blocks
> -----------------------------------------------------
>
>                 Key: HDFS-15655
>                 URL: https://issues.apache.org/jira/browse/HDFS-15655
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: balancer & mover
>            Reporter: Yang Yun
>            Assignee: Yang Yun
>            Priority: Minor
>         Attachments: HDFS-15655.001.patch, HDFS-15655.002.patch, 
> HDFS-15655.003.patch, HDFS-15655.004.patch, HDFS-15655.005.patch, 
> HDFS-15655.006.patch, HDFS-15655.007.patch, HDFS-15655.008.patch
>
>
> We met two issues when using balancer.
>  # Moving hot files may cause failing of dfsclient reading.
>  # Some blocks of temporary files are moved and they are deleted soon.
> Add a config key  " dfs.namenode.hot.block.time.interval",  the balancer 
> prefer to get the blocks which are belong to the cold files created before 
> this time period.
> Also add a option "-hotBlockTimeInterval" to the command line of balancer for 
> inputting.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to