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

HA DFS returns wrong token service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.0-alpha
    • ha, hdfs-client
    • None

    Description

      fs.getCanonicalService() must be equal to fs.getDelegationToken(renewer).getService(). When HA is enabled, the DFS token's service is a logical uri, but dfs.getCanonicalService() is only returning the hostname of the logical uri.

      Attachments

        1. HDFS-3255.patch
          3 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: