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

hdfs crypto commands limit column width

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.4, 3.3.0, 3.1.4, 3.2.2, 2.10.1
    • Component/s: None
    • Labels:
      None

      Description

      foo@bar$ hdfs crypto -listZones
      /projects/foo/bar/fizzgig/myprojectdirectorynameorsomethingcool1          encr
                                                                                yptio
                                                                                nzon
                                                                                e1
      /projects/foo/bar/fizzgig/myprojectdirectorynameorsomethingcool2          encr
                                                                                yptio
                                                                                nzon
                                                                                e2
      /projects/foo/bar/fizzgig/myprojectdirectorynameorsomethingcool3          encr
                                                                                yptio
                                                                                nzon
                                                                                e3
      

      The command ends up looking something really ugly like this when the path is long. This also makes it very difficult to pipe the output into other utilities, such as awk.

        Attachments

        1. HDFS-14931.001.patch
          1 kB
          Eric Badger

          Activity

            People

            • Assignee:
              ebadger Eric Badger
              Reporter:
              ebadger Eric Badger
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: