You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2013/03/04 21:47:12 UTC

[jira] [Updated] (HDFS-4548) Webhdfs doesn't renegotiate SPNEGO token

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

Daryn Sharp updated HDFS-4548:
------------------------------

    Attachment: HDFS-4548.patch

Basic approach is if an {{AuthenticationException}} is encountered while holding a SPNEGO token, blank it out and try again.  If the second attempt fails, error out.

I need to figure out how to write tests for this change, but please provide feedback on whether this is a viable approach.
                
> Webhdfs doesn't renegotiate SPNEGO token
> ----------------------------------------
>
>                 Key: HDFS-4548
>                 URL: https://issues.apache.org/jira/browse/HDFS-4548
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha, 3.0.0, 0.23.7
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>         Attachments: HDFS-4548.patch
>
>
> When the webhdfs SPNEGO token expires, the fs doesn't attempt to renegotiate a new SPNEGO token.  This renders webhdfs unusable for daemons that are logged in via a keytab which would allow a new SPNEGO token to be generated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira