[ 
https://issues.apache.org/jira/browse/HDFS-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620240#comment-13620240
 ] 

Alejandro Abdelnur commented on HDFS-4548:
------------------------------------------

If you have the following configuration set:

* keytab=<FILE>
* principal=<PRINCIPAL>
* useKeyTab=true
* useTicketCache=true
* renewTGT=true

then the JDK does the renewal for you. that is how hadoop-auth works on the 
server side.

Back to UGI, UGI has a thread that triggers the relogin, why do we need to call 
it explicitly?



                
> Webhdfs doesn't renegotiate SPNEGO token
> ----------------------------------------
>
>                 Key: HDFS-4548
>                 URL: https://issues.apache.org/jira/browse/HDFS-4548
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0-alpha, 3.0.0, 0.23.7
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Blocker
>         Attachments: HDFS-4548.branch-23.patch, HDFS-4548.branch-23.patch, 
> HDFS-4548.branch-23.patch, HDFS-4548.branch-23.patch, 
> HDFS-4548.branch-23.patch, HDFS-4548.patch, HDFS-4548.patch, HDFS-4548.patch, 
> HDFS-4548.patch, 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

Reply via email to