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

Improve KMSClientProvider log around delegation token checking

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.3
    • 3.0.0, 2.10.0, 2.8.4, 2.9.2
    • None
    • None
    • 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.001.patch
          6 kB
          Xiaoyu Yao
        2. HADOOP-14987.002.patch
          8 kB
          Xiaoyu Yao
        3. HADOOP-14987.003.patch
          11 kB
          Xiaoyu Yao
        4. HADOOP-14987.004.patch
          11 kB
          Xiaoyu Yao
        5. HADOOP-14987.005.patch
          10 kB
          Xiao Chen

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: