[
https://issues.apache.org/jira/browse/HDFS-14466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira Ajisaka updated HDFS-14466:
---------------------------------
Hadoop Flags: Reviewed
Summary: Add a regression test for HDFS-14323 (was:
FileSystem.listLocatedStatus for path including '=' encodes it and returns
FileNotFoundException)
+1, committing this.
> Add a regression test for HDFS-14323
> ------------------------------------
>
> Key: HDFS-14466
> URL: https://issues.apache.org/jira/browse/HDFS-14466
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: fs, webhdfs
> Affects Versions: 3.2.0
> Reporter: Yuya Ebihara
> Assignee: Masatake Iwasaki
> Priority: Minor
> Labels: webhdfs
> Attachments: HADOOP-16258.001.patch, HDFS-14466.002.patch
>
>
> Recently, we upgraded hadoop library from 2.7.7 to 3.2.0. This issue happens
> after the update. When we call FileSystem.listLocatedStatus with location
> 'webhdfs://hadoop-master:50070/user/hive/warehouse/test_part/dt=1', the
> internal calls are
> * 2.7.7
> [http://hadoop-master:50070/webhdfs/v1/user/hive/warehouse/test_part/dt=1?op=LISTSTATUS&user.name=xxx|http://hadoop-master:50070/webhdfs/v1/user/hive/warehouse/test_part/dt=1?op=LISTSTATUS&user.name=xxx%27,]
> * 3.2.0
> [http://hadoop-master:50070/webhdfs/v1/user/hive/warehouse/test_part/dt%253D1?op=LISTSTATUS&user.name=xxx]'
> As a result, it returns RemoteException with FileNotFoundException.
> {code:java}
> {"RemoteException":{"exception":"FileNotFoundException","javaClassName":"java.io.FileNotFoundException","message":"File
> /user/hive/warehouse/test_part/dt%3D1 does not exist."}}
> {code}
> Could you please tell me whether it's a bug and the way to avoid it?
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]