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

Kan Zhang commented on HDFS-592:
--------------------------------

As I explained before, method name like getNewStampAndToken() is misleading in 
the sense that it looks like it's a general method that any client can call to 
get a token. Actually, it's not. Only a client who is doing pipeline recovery 
(or already holding the lease) is supposed to use that method. It doesn't have 
to be the only thing that the client does when doing a recovery. Having said 
that, I'm open to other names that properly capture the context.

> Allow client to get a new generation stamp from NameNode
> --------------------------------------------------------
>
>                 Key: HDFS-592
>                 URL: https://issues.apache.org/jira/browse/HDFS-592
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>    Affects Versions: Append Branch
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: Append Branch
>
>         Attachments: newGS.patch, newGS1.patch
>
>
> This issue aims to  add an API to ClientProtocol that fetches a new 
> generation stamp and an access token from NameNode to support append or 
> pipeline recovery.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to