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

Daryn Sharp updated HDFS-4567:
------------------------------

    Attachment: HDFS-4567.patch
                HDFS-4567.branch-23.patch

If the token is not in the UGI, then it's only fetched on demand for the first 
non-token operation.

Additionally verified patch via fetchdt.  Token get/renew/cancel no longer get 
a token before performing the operation.
                
> Webhdfs does not need a token for token operations
> --------------------------------------------------
>
>                 Key: HDFS-4567
>                 URL: https://issues.apache.org/jira/browse/HDFS-4567
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 2.0.0-alpha, 3.0.0, 0.23.7
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-4567.branch-23.patch, HDFS-4567.patch
>
>
> Webhdfs will implicitly acquire a token to get/renew/cancel other tokens even 
> though it neither needs nor uses the token.  The implicit token triggers a 
> renewer thread for the fs which is undesirable for daemons such as oozie and 
> yarn's RM.

--
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