You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2017/06/17 14:35:00 UTC

[jira] [Created] (KNOX-971) Putting files with special characters in the name mangles the name in HDFS

Larry McCay created KNOX-971:
--------------------------------

             Summary: Putting files with special characters in the name mangles the name in HDFS
                 Key: KNOX-971
                 URL: https://issues.apache.org/jira/browse/KNOX-971
             Project: Apache Knox
          Issue Type: Bug
          Components: Server
            Reporter: Larry McCay
            Assignee: Larry McCay
             Fix For: 0.13.0


When issuing a CREATE of a filename with special characters with something like the following:

{code}
curl -i -L -u guest:guest-password "https://localhost:8443/webhdfs/v1/user/shfs3453/WORK/datasets/test_électronique_embarqué.pdf?op=CREATE"
{code}

The file is successfully created and written and can be successfully retrieved.
However the resulting filename within HDFS is actually "test_�lectronique_embarqu�.pdf" and if the same filename is used from dfs CLI the filename is correct in HDFS.

Moreover, trying to retrieve the properly named file through the gateway results in a 404.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)