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

namenode does not URI-encode parameters when building URI for datanode request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.4
    • 2.0.3-alpha, 0.23.5
    • namenode
    • None

    Description

      Param values such as

      foo&bar

      or

      foo=bar

      Are not escaped in Param.toSortedString()

      When these are given as, say, token parameter values, a string like

      &token=foo&bar&token=foo=bar

      is returned.

      Attachments

        1. HDFS-4172.patch
          10 kB
          Derek Dagit

        Activity

          People

            dagit Derek Dagit
            dagit Derek Dagit
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: