[ https://issues.apache.org/jira/browse/HDFS-3888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-3888: ----------------------------------------- Resolution: Fixed Fix Version/s: 2.2.0-alpha Status: Resolved (was: Patch Available) I have committed this. Thanks, Jing! > BlockPlacementPolicyDefault code cleanup > ---------------------------------------- > > Key: HDFS-3888 > URL: https://issues.apache.org/jira/browse/HDFS-3888 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Jing Zhao > Assignee: Jing Zhao > Priority: Minor > Fix For: 2.2.0-alpha > > Attachments: HDFS-3888.patch, HDFS-3888.patch > > > BlockPlacementPolicyDefault#LOG should be removed as it hides LOG from the > base class BlockPlacementPolicy. Also, in > BlockPlacementPolicyDefault#chooseTarget method, the logic computing the > maxTargetPerLoc can be made a separate method. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira