[
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
"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?
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 "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?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]