hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hongyuan Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14462) In hadoop Path class, it is assocaited with java,net.URI, sometimes will boring
Date Sat, 27 May 2017 14:51:04 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-14462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hongyuan Li updated HADOOP-14462:
---------------------------------
    Description: 
[~stevel@apache.org] [~brahmareddy] 
method {{new Path(String pathString)}} used java.net.URI  {{public URI(String scheme,String
authority, String path, String query, String fragment)}}
 method, in which %25 may converted to %2525. for example, test like below won't pass.
{code}
String uriString = "ftp://aaaa:%25112@nodee1/";
 URI uri = new URI(uriString );  
Path path1 = new Path(uri);
Path path2 = new Path(uriString);
assertEquals(path1, path2);
{code}
Any good idea to solve this ? 

  was:
[~stevel@apache.org] [~brahmareddy] 
method {{new Path(String pathString)}} used java.net.URI  {{public URI(String scheme,
               String authority,
               String path, String query, String fragment)}}
 method, in which %25 may converted to %2525. for example, test like below won't pass.
{code}
String uriString = "ftp://aaaa:%25112@nodee1/";
 URI uri = new URI(uriString );  
Path path1 = new Path(uri);
Path path2 = new Path(uriString);
assertEquals(path1, path2);
{code}
Any good idea to solve this ? 


> In hadoop Path class, it is assocaited with java,net.URI, sometimes will boring
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-14462
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14462
>             Project: Hadoop Common
>          Issue Type: Wish
>            Reporter: Hongyuan Li
>
> [~stevel@apache.org] [~brahmareddy] 
> method {{new Path(String pathString)}} used java.net.URI  {{public URI(String scheme,String
authority, String path, String query, String fragment)}}
>  method, in which %25 may converted to %2525. for example, test like below won't pass.
> {code}
> String uriString = "ftp://aaaa:%25112@nodee1/";
>  URI uri = new URI(uriString );  
> Path path1 = new Path(uri);
> Path path2 = new Path(uriString);
> assertEquals(path1, path2);
> {code}
> Any good idea to solve this ? 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message