Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6857

FsShell should report raw disk usage including replication factor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • fs
    • None
    • Incompatible change, Reviewed
    • The output format of hadoop fs -du has been changed. It shows not only the file size but also the raw disk usage including the replication factor.

    Description

      Currently FsShell report HDFS usage with "hadoop fs -dus <path>" command. Since replication level is per file level, it would be nice to add raw disk usage including the replication factor (maybe "hadoop fs -dus -raw <path>"?). This will allow to assess resource usage more accurately. – Alex K

      Attachments

        1. HADOOP-6857.patch
          40 kB
          Byron Wong
        2. HADOOP-6857.patch
          11 kB
          Byron Wong
        3. HADOOP-6857.patch
          3 kB
          Byron Wong
        4. HADOOP-6857-revert.patch
          35 kB
          Byron Wong
        5. revert-HADOOP-6857-from-branch-2.patch
          42 kB
          Akira Ajisaka
        6. show-space-consumed.txt
          4 kB
          Aaron Myers

        Issue Links

          Activity

            People

              Byron Wong Byron Wong
              alexvk Alex Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: