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] [Commented] (KNOX-971) Putting files with special characters in the name mangles the name in HDFS

    [ https://issues.apache.org/jira/browse/KNOX-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052857#comment-16052857 ] 

Larry McCay commented on KNOX-971:
----------------------------------

This appears to have been an issue prior to other encoding work done for 0.13.0 as well.
We should try and fix this within 0.13.0 but may push it out to a future release since it isn't a regression.

> 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)