Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14987

Improve KMSClientProvider log around delegation token checking

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.3
    • Fix Version/s: 3.0.0, 2.10.0, 2.8.4, 2.9.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      KMSClientProvider#containsKmsDt uses SecurityUtil.buildTokenService(addr) to build the key to look for KMS-DT from the UGI's token map. The token lookup key here varies depending on the KMSClientProvider's configuration value for hadoop.security.token.service.use_ip. In certain cases, the token obtained with non-matching hadoop.security.token.service.use_ip setting will not be recognized by KMSClientProvider. This ticket is opened to improve logs for troubleshooting KMS delegation token related issues like this.

        Attachments

        1. HADOOP-14987.005.patch
          10 kB
          Xiao Chen
        2. HADOOP-14987.004.patch
          11 kB
          Xiaoyu Yao
        3. HADOOP-14987.003.patch
          11 kB
          Xiaoyu Yao
        4. HADOOP-14987.002.patch
          8 kB
          Xiaoyu Yao
        5. HADOOP-14987.001.patch
          6 kB
          Xiaoyu Yao

          Issue Links

            Activity

              People

              • Assignee:
                xyao Xiaoyu Yao
                Reporter:
                xyao Xiaoyu Yao
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: