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

hdfs crypto commands limit column width

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.4, 3.3.0, 3.1.4, 3.2.2, 2.10.1
    • None
    • 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

            ebadger Eric Badger
            ebadger Eric Badger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: