[ https://issues.apache.org/jira/browse/HDFS-7806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327949#comment-14327949 ]
Arpit Agarwal commented on HDFS-7806: ------------------------------------- Thanks for taking care of this Xiaoyu. Suggest simplifying the comment in hdfs.StorageType as follows: {code} * This class has been deprecated. Applications must use by org.apache.hadoop.fs.StorageType instead. {code} +1 otherwise, pending Jenkins. > Refactor: move StorageType.java from hadoop-hdfs to hadoop-common > ----------------------------------------------------------------- > > Key: HDFS-7806 > URL: https://issues.apache.org/jira/browse/HDFS-7806 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Xiaoyu Yao > Assignee: Xiaoyu Yao > Priority: Minor > Fix For: 2.7.0 > > Attachments: HDFS-7806.00.patch > > > To report per storage type quota and usage information from "hadoop fs -count > -q" or "hdfs dfs -count -q", we need to migrate the StorageType definition > from hadoop-hdfs (org.apache.hadoop.hdfs) to > hadoop-common(org.apache.hadoop.fs) because the ContentSummary and > FileSystem#getContentSummary() are in org.apache.hadoop.fs package. -- This message was sent by Atlassian JIRA (v6.3.4#6332)