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

Haohui Mai commented on HDFS-6127:
----------------------------------

This v1 patch addresses Jing's comment. I also use {{Mockito.verify}} to ensure 
that the corresponding methods are called.

> WebHDFS tokens cannot be renewed in HA setup
> --------------------------------------------
>
>                 Key: HDFS-6127
>                 URL: https://issues.apache.org/jira/browse/HDFS-6127
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha
>    Affects Versions: 2.4.0
>            Reporter: Arpit Gupta
>            Assignee: Haohui Mai
>         Attachments: HDFS-6127.000.patch, HDFS-6127.001.patch
>
>
> {{TokenAspect}} class assumes that the service name of the token is alway a 
> host-ip pair. In HA setup, however, the service name becomes the name service 
> id, which breaks the assumption. As a result, WebHDFS tokens cannot be 
> renewed in HA setup.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to