Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7584 Enable Quota Support for Storage Types
  3. HDFS-7806

Refactor: move StorageType from hadoop-hdfs to hadoop-common

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: datanode, namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      This fix moves the public class StorageType from the package org.apache.hadoop.hdfs to org.apache.hadoop.fs.

      Description

      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.

        Attachments

        1. HDFS-7806.00.patch
          100 kB
          Xiaoyu Yao
        2. HDFS-7806.01.patch
          100 kB
          Xiaoyu Yao
        3. HDFS-7806.02.patch
          101 kB
          Xiaoyu Yao

          Issue Links

            Activity

              People

              • Assignee:
                xyao Xiaoyu Yao
                Reporter:
                xyao Xiaoyu Yao
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: