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

Extract out jackson calls into an overrideable method in DelegationTokenAuthenticationHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      In Apache Solr, we use hadoop-auth for delegation tokens. However, because of the following lines, we need to import Jackson (old version).

      https://github.com/apache/hadoop/blob/branch-2.7/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticationHandler.java#L279

      If we could extract out the calls to ObjectMapper to another method, so that at Solr we could override it to do the Map -> json conversion using noggit, it would be helpful.

      Reference: SOLR-9542

      Attachments

        1. HADOOP-13672.patch
          1 kB
          Ishan Chattopadhyaya
        2. HADOOP-13672.patch
          2 kB
          Ishan Chattopadhyaya

        Activity

          People

            ichattopadhyaya Ishan Chattopadhyaya
            ichattopadhyaya Ishan Chattopadhyaya
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: