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

It's possible to create files with special characters in the filenames, but 'hadoop fs -ls' gives no indication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • hdfs-client
    • None

    Description

      For example:

      -bash-4.1$ hadoop fs -mkdir /user/hdfs
      -bash-4.1$ hadoop fs -touchz /user/hdfs/dupfile
      -bash-4.1$ hadoop fs -touchz /user/hdfs/dupfile^M
      -bash-4.1$ hadoop fs -ls /user/hdfs
      Found 2 items
      rw-rr- 3 hdfs supergroup 0 2013-05-14 07:13 /user/hdfs/dupfile
      rw-rr- 3 hdfs supergroup 0 2013-05-14 07:13 /user/hdfs/dupfile

      By way of comparison, bash will print a '?' at the end of the file name, indicating there's a special character in the filename, which isn't perfect but at least gives an indication that there's more to the filename than just alphanumeric characters

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stephenf Stephen Fritz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: