Angel Cervera Claudio created HDFS-7852:
-------------------------------------------

             Summary: Errors reading/removing folders with the character # in 
the name
                 Key: HDFS-7852
                 URL: https://issues.apache.org/jira/browse/HDFS-7852
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs-client
    Affects Versions: 2.6.0
         Environment: # lsb_release -a
LSB Version:    
:base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.6 (Final)
Release:        6.6
Codename:       Final


Virtual Machine downloaded from 
http://hortonworks.com/products/hortonworks-sandbox/#install
HDP 2.2


            Reporter: Angel Cervera Claudio
            Priority: Critical


Steps to reproduce the error:
{quote}
$ 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.
{quote}

Other errors:
- putting files inside a folder with the character # in the name.
- removing folders with this character in the name.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to