Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2049

Should add the column name tips for HDFS shell command

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.21.0
    • Fix Version/s: None
    • Component/s: hdfs-client
    • Labels:
    • Hadoop Flags:
      Incompatible change
    • Tags:
      shell command

      Description

      :abc:root > bin/hadoop fs -count -q /ABC
      11/06/07 18:05:54 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=300000
      11/06/07 18:05:54 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use mapreduce.task.attempt.id
      none inf none inf 13 372 0 hdfs://abc:9000/ABC

      --------------------------------------
      I got the result columns without column name. It make me confused. Actually, it should like this in a kindly matter.

      :abc:root > bin/hadoop fs -count -q /ABC
      11/06/07 18:05:54 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=300000
      11/06/07 18:05:54 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use mapreduce.task.attempt.id
      QUOTA, REMAINING_QUATA, SPACE_QUOTA, REMAINING_SPACE_QUOTA, DIR_COUNT, FILE_COUNT, CONTENT_SIZE, FILE_NAME
      none inf none inf 13 372 0 hdfs://abc:9000/ABC

        Attachments

        1. HDFS-2049-v2.txt
          2 kB
          Liang Xie
        2. HDFS-2049.txt
          4 kB
          Liang Xie

          Issue Links

            Activity

              People

              • Assignee:
                xieliang007 Liang Xie
                Reporter:
                dennyy Denny Ye
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: