[ https://issues.apache.org/jira/browse/HDFS-15655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17244170#comment-17244170 ]
Ayush Saxena commented on HDFS-15655: ------------------------------------- Thanx [~hadoop_yangyun] for the patch, I think the test failures are related, especially the router ones. nit for the doc : {code:java} 304 | `-hotBlockTimeInterval` | Prefer to move cold blocks which are belong to the files accessed before this time interval. | {code} Prefer moving cold blocks i.e blocks associated with files accessed or modified before the specified time interval. Similar stuff in the {{hdfs-defaults.xml}}, Apart things are looking good. [~hexiaoqiao] let me know if you have any objections or questions here. > 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 > > > 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