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

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

In the spirit of addBlock(), how about we use recoverPipeline()? I guess what 
happens here is you don't want add a new appendBlock() call for the initial 
pipeline setup for append and instead want to re-use the recoverPipeline() 
call, which is fine. However, in the absence of a better name for both 
recoverPipeline and appendBlock, I can live with recoverPipeline than something 
totally non-descriptive, like getNewStampAndToken().


> 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