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

Shell command fs -count should include human readable option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.6.0
    • None
    • Incompatible change
    • 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-4.patch
          29 kB
          Allen Wittenauer
        2. HADOOP-8944-3.patch
          29 kB
          Allen Wittenauer
        3. HADOOP-8944-2.patch
          29 kB
          Allen Wittenauer
        4. HADOOP-8944-1.patch
          29 kB
          Allen Wittenauer
        5. HADOOP-8944.patch
          29 kB
          Jonathan Allen

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: