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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • datanode, namenode
    • None
    • Reviewed
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment