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

Yang Yun commented on HDFS-15655:
---------------------------------

Thanks [~jianghuazhu] fot the suggestion.

Yes, it's better to add options to the balancer command. It may need to add a 
more argument to of the function getBlocks(). I'll try...

> 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
>
>
> 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 option dfs.namenode.hot.block.interval, the balancer prefer to get the 
> blocks which are belong to the cold files created before this time period.



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