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

HA DFS returns wrong token service

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.0-alpha
    • Component/s: ha, hdfs-client
    • Labels:
      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

              • Assignee:
                daryn Daryn Sharp
                Reporter:
                daryn Daryn Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: