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

Shell command fs -count should include human readable option

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Implements -h option for fs -count to show file sizes in human readable format. Additionally, ContentSummary.getHeader() now returns a different string that is incompatible with previous releases.

      Description

      The shell command fs -count report sizes in bytes. The command should accept a -h option to display the sizes in a human readable format, i.e. K, M, G, etc.

        Attachments

        1. HADOOP-8944.patch
          29 kB
          Jonathan Allen
        2. HADOOP-8944-1.patch
          29 kB
          Allen Wittenauer
        3. HADOOP-8944-2.patch
          29 kB
          Allen Wittenauer
        4. HADOOP-8944-3.patch
          29 kB
          Allen Wittenauer
        5. HADOOP-8944-4.patch
          29 kB
          Allen Wittenauer

          Issue Links

            Activity

              People

              • Assignee:
                jonallen Jonathan Allen
                Reporter:
                jonallen Jonathan Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: