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

dfs -count -q should label output column

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • Added -v option to fs -count command to display a header record in the report.

    Description

      These commands should label the output columns:

      hadoop dfs -count <dir>...<dir>
      hadoop dfs -count -q <dir>...<dir>
      

      Current output of the 2nd command above:

      % hadoop dfs -count -q /user/foo /tmp
              none             inf         9569         9493         6372553322 hdfs://nn1.bar.com/user/foo
              none             inf          101         2689       209349812906 hdfs://nn1.bar.com/tmp
      

      It is not obvious what these columns mean.

      Attachments

        1. HADOOP-7713.patch
          20 kB
          Jonathan Allen
        2. HADOOP-7713.patch
          19 kB
          Jonathan Allen
        3. HADOOP-7713.patch
          13 kB
          Jonathan Allen
        4. HADOOP-7713.patch
          18 kB
          Jonathan Allen
        5. HADOOP-7713.patch
          15 kB
          Jonathan Allen
        6. HADOOP-7713.patch
          14 kB
          Jonathan Allen
        7. HADOOP-7713.patch
          5 kB
          Jonathan Allen
        8. HADOOP-7713.patch
          13 kB
          Jonathan Allen
        9. HADOOP-7713.patch
          12 kB
          Jonathan Allen
        10. HADOOP-7713.patch
          11 kB
          Jonathan Allen
        11. HADOOP-7713-11.patch
          20 kB
          Allen Wittenauer

        Issue Links

        Activity

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

          People

            jonallen Jonathan Allen
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment