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

Shell command fs -count should include human readable option

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment