You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Benoy Antony (JIRA)" <ji...@apache.org> on 2015/12/17 00:35:46 UTC

[jira] [Updated] (HADOOP-12587) Hadoop AuthToken refuses to work without a maxinactive attribute in issued token

     [ https://issues.apache.org/jira/browse/HADOOP-12587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoy Antony updated HADOOP-12587:
----------------------------------
    Attachment: HADOOP-12587-001.patch

Attaching the patch

1. changed the name of the configuration from hadoop.http.authentication.token.MaxInactiveInterval  to hadoop.http.authentication.token.max-inactive-interval.
2. Set the default value to -1 so that the feature is disabled by default.
3. If the token does not contain mxInterval, the token is still processed without throwing exception.
4. add test cases to test token with valid activity interval, expired activity interval and missing activity interval. Each test case runs against a server where activity interval feature is enabled and disabled.
5. Updated documentation to reflect changes.

> Hadoop AuthToken refuses to work without a maxinactive attribute in issued token
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-12587
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12587
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.8.0
>         Environment: OSX heimdal kerberos client against Linux KDC -talking to a Hadoop 2.6.0 cluster
>            Reporter: Steve Loughran
>            Assignee: Benoy Antony
>            Priority: Blocker
>         Attachments: HADOOP-12587-001.patch
>
>
> If you don't have a max-inactive attribute in the auth token returned from the web site, AuthToken will raise an exception. This stops callers without this token being able to submit jobs to a secure Hadoop 2.6 YARN cluster with timeline server enabled. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)