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

Masatake Iwasaki moved HADOOP-16258 to HDFS-14466:
--------------------------------------------------

    Affects Version/s:     (was: 3.2.0)
                       3.2.0
          Component/s:     (was: fs)
                       webhdfs
                       fs
                  Key: HDFS-14466  (was: HADOOP-16258)
              Project: Hadoop HDFS  (was: Hadoop Common)

> FileSystem.listLocatedStatus for path including '=' encodes it and returns 
> FileNotFoundException
> ------------------------------------------------------------------------------------------------
>
>                 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
>
>
> 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.3#76005)

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

Reply via email to