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

Errors reading/removing folders with the character # in the name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.6.0
    • None
    • hdfs-client

    Description

      Steps to reproduce the error:

      $ echo "hello" > hello.txt
      $ hadoop fs -mkdir hdfs://172.16.33.150:8020/testing
      $ hadoop fs -mkdir hdfs://172.16.33.150:8020/testing/IP#OTHER
      $ hadoop fs -ls hdfs://172.16.33.150:8020/testing
      drwxr-xr-x - devuser hdfs 0 2015-02-26 16:14 hdfs://172.16.33.150:8020/testing/IP#OTHER
      drwxr-xr-x - devuser hdfs 0 2015-02-26 16:46 hdfs://172.16.33.150:8020/testing/xx
      $ hadoop fs -ls hdfs://172.16.33.150:8020/testing
      Found 2 items
      drwxr-xr-x - devuser hdfs 0 2015-02-26 16:39 hdfs://172.16.33.150:8020/testing/IP#OTHER
      drwxr-xr-x - devuser hdfs 0 2015-02-26 16:42 hdfs://172.16.33.150:8020/testing/xx
      $ hadoop fs -ls hdfs://172.16.33.150:8020/testing/xx
      $ hadoop fs -ls hdfs://172.16.33.150:8020/testing/IP#OTHER
      ls: File hdfs://172.16.33.150:8020/testing/IP%23OTHER does not exist.

      Other errors:

      • putting files inside a folder with the character # in the name.
      • removing folders with this character in the name.

      Attachments

        Activity

          People

            Unassigned Unassigned
            angelcervera Angel Cervera Claudio
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: