[ https://issues.apache.org/jira/browse/HDFS-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082432#comment-14082432 ]
Hudson commented on HDFS-6685: ------------------------------ SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1849 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1849/]) HDFS-6685. Balancer should preserve storage type of replicas. (szetszwo: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1615015) * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/StorageType.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelper.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/BalancingPolicy.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/protocol/BlocksWithLocations.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/util/EnumCounters.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/util/EnumDoubles.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/hdfs.proto * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/protocolPB/TestPBHelper.java > Balancer should preserve storage type of replicas > ------------------------------------------------- > > Key: HDFS-6685 > URL: https://issues.apache.org/jira/browse/HDFS-6685 > Project: Hadoop HDFS > Issue Type: Improvement > Components: balancer > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Fix For: 2.6.0 > > Attachments: h6685_20140728.patch, h6685_20140729.patch, > h6685_20140730.patch, h6685_20140730b.patch, h6685_20140731.patch > > > When Balancer moves replicas to balance the cluster, it should always move > replicas from a storage with any type to another storage with the same type, > i.e. it preserves storage type of replicas. It does not make sense to move > replicas to a different storage type. -- This message was sent by Atlassian JIRA (v6.2#6252)