HDFS-4985: Add protocol support for Storage Medium
HDFS-5000: Allow configuring storage medium for data directories.