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

Align the output of `hadoop fs -du` to be more Unix-like

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.1-beta
    • 3.0.0-alpha1
    • None
    • None
    • Incompatible change
    • The output of du has now been made more Unix-like, with aligned output.

    Description

      This could be formatted a little nicer:

      $ hdfs dfs -du -s /apps/hbase/data/data/default/*
      22604541341  /apps/hbase/data/data/default/IntegrationTestBulkLoad
      896656491  /apps/hbase/data/data/default/IntegrationTestIngest
      33776145312  /apps/hbase/data/data/default/IntegrationTestLoadAndVerify
      83512463  /apps/hbase/data/data/default/SendTracesTable
      532898  /apps/hbase/data/data/default/TestAcidGuarantees
      27294  /apps/hbase/data/data/default/demo_table
      1410  /apps/hbase/data/data/default/example
      2531532801  /apps/hbase/data/data/default/loadtest_d1
      901  /apps/hbase/data/data/default/table_qho71mpvj8
      1433  /apps/hbase/data/data/default/tcreatetbl
      1690  /apps/hbase/data/data/default/tdelrowtbl
      360  /apps/hbase/data/data/default/testtbl1
      360  /apps/hbase/data/data/default/testtbl2
      360  /apps/hbase/data/data/default/testtbl3
      1515  /apps/hbase/data/data/default/tquerytbl
      1513  /apps/hbase/data/data/default/tscantbl
      

      Attachments

        1. HDFS-5292-002.patch
          3 kB
          Akira Ajisaka
        2. HDFS-5292.patch
          4 kB
          Akira Ajisaka

        Activity

          People

            aajisaka Akira Ajisaka
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: