[
https://issues.apache.org/jira/browse/HDFS-7806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDFS-7806:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.7.0
Target Version/s: (was: 2.7.0)
Release Note: This fix moves the public class StorageType from the
package org.apache.hadoop.hdfs to org.apache.hadoop.fs.
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks for the contribution [~xyao] and the suggested improvements [~cnauroth].
I committed it to trunk and branch-2. Also added a short review note to
document the move.
> Refactor: move StorageType 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, HDFS-7806.01.patch,
> HDFS-7806.02.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)