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

Update dfs -count -t command line help and documentation

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      According to dfs -count command line help, -t option must be used along with -q.

      • However, the current behavior is that -t can be used without -q, it's just silently ignored.
      • In addition, -t may also be used with -u.
      • The FileSystemShell doc does not state -t must be used along with -q. This should either be enforced in the code, or update the doc/command line.
      • Also, the list of possible parameters for -t option is not described in the doc. Looking at the code (Count.java), the list of possible parameters are either empty string (="all"), "all", "ram_disk", "ssd", "disk" or "archive" (caseless)

      Attachments

        1. HDFS-11061.004.patch
          4 kB
          Yiqun Lin
        2. HDFS-11061.003.patch
          4 kB
          Yiqun Lin
        3. HDFS-11061.002.patch
          4 kB
          Yiqun Lin
        4. HDFS-11061.001.patch
          2 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: