You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Yuya Ebihara (Jira)" <ji...@apache.org> on 2022/12/16 12:58:00 UTC

[jira] [Updated] (HADOOP-18580) Special characters handling in Azure file system is different from others

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

Yuya Ebihara updated HADOOP-18580:
----------------------------------
    Description: 
Special character's handling in [AzureBlobFileSystem|https://github.com/apache/hadoop/blob/trunk/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java] looks different from other file systems. e.g. GoogleHadoopFileSystem.

For instance, FileSystem.open with ".../part=a%25percent/test.parquet" works fine in other file systems, but ABFS requires ".../part=a%percent/test.parquet" (%25 → %) because the path is URL encoded by AbfsClient#createRequestUrl internally. Can we change the behavior? Or can I request to add javadoc to explain the behavior if this is the expected behavior? 

  was:
Special character's handling in [AzureBlobFileSystem|https://github.com/apache/hadoop/blob/trunk/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java] looks different from other file systems. e.g. GoogleHadoopFileSystem.

For instance, FileSystem.open with ".../part=a%25percent/test.parquet" works fine in other file systems, but ABFS requires ".../part=a%percent/test.parquet" (%25 → %) because the path is URL encoded by "org.apache.hadoop.fs.azurebfs.services.AbfsClient#createRequestUrl" internally. Can we change the behavior? Or can I request to add javadoc to explain the behavior if this is the expected behavior? 


> Special characters handling in Azure file system is different from others
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-18580
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18580
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/azure
>    Affects Versions: 3.2.0
>            Reporter: Yuya Ebihara
>            Priority: Minor
>
> Special character's handling in [AzureBlobFileSystem|https://github.com/apache/hadoop/blob/trunk/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java] looks different from other file systems. e.g. GoogleHadoopFileSystem.
> For instance, FileSystem.open with ".../part=a%25percent/test.parquet" works fine in other file systems, but ABFS requires ".../part=a%percent/test.parquet" (%25 → %) because the path is URL encoded by AbfsClient#createRequestUrl internally. Can we change the behavior? Or can I request to add javadoc to explain the behavior if this is the expected behavior? 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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