hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Mackrory (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-13176) WebHdfs file path gets truncated when having semicolon (;) inside
Date Tue, 06 Mar 2018 21:14:00 GMT

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

Sean Mackrory edited comment on HDFS-13176 at 3/6/18 9:13 PM:
--------------------------------------------------------------

Thanks to [~anu] for digging up the appropriate documentation of legal paths - I had missed
it looking at HDFS-specific stuff, but the documentation is Common-wide, which makes sense.
The gist is that ':' is indeed illegal, but all of the other characters you're testing and
the others I mentioned (that I didn't want to support) are supposed to work. +1 to your fix
- I'll commit it but will give another day in case the folks you tagged want to chime in.
We may as well add other characters that are supposed to work to verify they do and help keep
it that way, too.

 

edit: for context, this is what Anu linked to on the mailing list thread: http://hadoop.apache.org/docs/r2.8.0/hadoop-project-dist/hadoop-common/filesystem/introduction.html#Path_Names


was (Author: mackrorysd):
Thanks to [~anu] for digging up the appropriate documentation of legal paths - I had missed
it looking at HDFS-specific stuff, but the documentation is Common-wide, which makes sense.
The gist is that ':' is indeed illegal, but all of the other characters you're testing and
the others I mentioned (that I didn't want to support) are supposed to work. +1 to your fix
- I'll commit it but will give another day in case the folks you tagged want to chime in.
We may as well add other characters that are supposed to work to verify they do and help keep
it that way, too.

> WebHdfs file path gets truncated when having semicolon (;) inside
> -----------------------------------------------------------------
>
>                 Key: HDFS-13176
>                 URL: https://issues.apache.org/jira/browse/HDFS-13176
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 3.0.0
>            Reporter: Zsolt Venczel
>            Assignee: Zsolt Venczel
>            Priority: Major
>         Attachments: HDFS-13176.01.patch, TestWebHdfsUrl.testWebHdfsSpecialCharacterFile.patch
>
>
> Find attached a patch having a test case that tries to reproduce the problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message