[jira] [Updated] (HADOOP-13672) Extract out jackson calls into an overrideable method in DelegationTokenAuthenticationHandler
[ https://issues.apache.org/jira/browse/HADOOP-13672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ishan Chattopadhyaya updated HADOOP-13672: -- Attachment: HADOOP-13672.patch Adding a simpler patch, based on [~noble.paul]'s suggestion [0]. [~xiaochen], please review. Thanks. [0] - https://github.com/apache/hadoop/compare/branch-2.7...noblepaul:patch-2 > Extract out jackson calls into an overrideable method in > DelegationTokenAuthenticationHandler > - > > Key: HADOOP-13672 > URL: https://issues.apache.org/jira/browse/HADOOP-13672 > Project: Hadoop Common > Issue Type: Improvement >Reporter: Ishan Chattopadhyaya >Assignee: Ishan Chattopadhyaya >Priority: Minor > Attachments: HADOOP-13672.patch, HADOOP-13672.patch > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Updated] (HADOOP-13672) Extract out jackson calls into an overrideable method in DelegationTokenAuthenticationHandler
[ https://issues.apache.org/jira/browse/HADOOP-13672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ishan Chattopadhyaya updated HADOOP-13672: -- Attachment: HADOOP-13672.patch Adding a patch for the proposed extraction. > Extract out jackson calls into an overrideable method in > DelegationTokenAuthenticationHandler > - > > Key: HADOOP-13672 > URL: https://issues.apache.org/jira/browse/HADOOP-13672 > Project: Hadoop Common > Issue Type: Improvement >Reporter: Ishan Chattopadhyaya >Priority: Minor > Attachments: HADOOP-13672.patch > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Created] (HADOOP-13672) Extract out jackson calls into an overrideable method in DelegationTokenAuthenticationHandler
Ishan Chattopadhyaya created HADOOP-13672: - Summary: Extract out jackson calls into an overrideable method in DelegationTokenAuthenticationHandler Key: HADOOP-13672 URL: https://issues.apache.org/jira/browse/HADOOP-13672 Project: Hadoop Common Issue Type: Improvement Reporter: Ishan Chattopadhyaya Priority: Minor 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org
[jira] [Commented] (HADOOP-9893) Ticket cache support for MiniKdc
[ https://issues.apache.org/jira/browse/HADOOP-9893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546594#comment-14546594 ] Ishan Chattopadhyaya commented on HADOOP-9893: -- We're trying to use hadoop-minikdc in Apache Solr for our kerberos plugin (SOLR-7468), but the test is failing due to several threads trying to access the tickets for the same principal. I think a ticket cache will to fix this for us. ApacheDS is now at 2.0.0-M20, but current version we use at minikdc is M15. How soon can hadoop-minikdc use the latest ApacheDS? > Ticket cache support for MiniKdc > > > Key: HADOOP-9893 > URL: https://issues.apache.org/jira/browse/HADOOP-9893 > Project: Hadoop Common > Issue Type: Improvement >Reporter: Kai Zheng >Assignee: Kai Zheng > > As discussed in HADOOP-9881, it would be good to support ticket cache > generation utilizing MiniKdc, which can be used to test some Kerberos cases > for UGI regarding user login via kinit or ticket cache. Currently it's not > supported and this issue is to implement it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)