Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14466

FileSystem.listLocatedStatus for path including '=' encodes it and returns FileNotFoundException

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: fs, webhdfs
    • Labels:

      Description

      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

      As a result, it returns RemoteException with FileNotFoundException.

      {"RemoteException":{"exception":"FileNotFoundException","javaClassName":"java.io.FileNotFoundException","message":"File /user/hive/warehouse/test_part/dt%3D1 does not exist."}}
      

      Could you please tell me whether it's a bug and the way to avoid it?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iwasakims Masatake Iwasaki
                Reporter:
                ebyhr Yuya Ebihara
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: