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

WebHDFS cannot create a file path containing characters that must be URI-encoded, such as space.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 2.1.0-beta, 1.3.0
    • webhdfs
    • None

    Description

      On branch-1, WebHDFS cannot create a file containing spaces. It fails with a URI syntax error while trying to create a java.net.URI pointing to the newly created file in the HTTP created response. This bug does not impact trunk, because the trunk code calls a different java.net.URI constructor, which automatically takes care of the required URI encoding.

      Attachments

        1. HDFS-4944.1.patch
          2 kB
          Chris Nauroth
        2. HDFS-4944-branch-1.1.patch
          2 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: