[ https://issues.apache.org/jira/browse/HADOOP-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471999 ]
James P. White commented on HADOOP-692: --------------------------------------- As described in HADOOP-952, I get a divide by zero ArithmeticException in 0.11.0 due to this patch. http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?annotate=502821&diff_format=h#l2593 2593 : int maxNodesPerRack = 2594 : (totalNumOfReplicas-1)/clusterMap.getNumOfRacks()+2; > Rack-aware Replica Placement > ---------------------------- > > Key: HADOOP-692 > URL: https://issues.apache.org/jira/browse/HADOOP-692 > Project: Hadoop > Issue Type: Improvement > Components: dfs > Affects Versions: 0.10.1 > Reporter: Hairong Kuang > Assigned To: Hairong Kuang > Fix For: 0.11.0 > > Attachments: rack.patch, Rack_aware_HDFS_proposal.pdf > > > This issue assumes that HDFS runs on a cluster of computers that spread > across many racks. Communication between two nodes on different racks needs > to go through switches. Bandwidth in/out of a rack may be less than the total > bandwidth of machines in the rack. The purpose of rack-aware replica > placement is to improve data reliability, availability, and network bandwidth > utilization. The basic idea is that each data node determines to which rack > it belongs at the startup time and notifies the name node of the rack id upon > registration. The name node maintains a rackid-to-datanode map and tries to > place replicas across racks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.