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

Command-line option to see replicated size of a file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • fs

    Description

      It would be nice to have a command-line option to the "hadoop -fs" command that would print the actual replicated size of a file or filesystem. In other words, don't just print the size of a file if it were to be copied down to a local FS, but show us exactly how much space it's taking up in HDFS (including replicated blocks). This should be added to the FsUsage class. I'll work up a patch and attach it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            heathcd Clint Heath
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: