hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8361) Choose SSD over DISK in block placement
Date Fri, 08 May 2015 23:59:00 GMT
Tsz Wo Nicholas Sze created HDFS-8361:

             Summary: Choose SSD over DISK in block placement
                 Key: HDFS-8361
                 URL: https://issues.apache.org/jira/browse/HDFS-8361
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: namenode
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze

BlockPlacementPolicyDefault chooses the StorageType by iterating the given StorageType EnumMap
in its natural order (the order in which the enum constants are declared).  So DISK will be
chosen over SSD in One-SSD policy since DISK is declared before SSD as shown below.  We should
choose SSD first.

public enum StorageType {


This message was sent by Atlassian JIRA

View raw message