[jira] Updated: (HDFS-592) Allow client to get a new generation stamp from NameNode

2009-09-16 Thread Hairong Kuang (JIRA)

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

Hairong Kuang updated HDFS-592:
---

Attachment: newGS4.patch

Thanks Kan! The new patch reflects your comments.

 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, newGS2.patch, newGS3.patch, 
 newGS4.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.



[jira] Updated: (HDFS-592) Allow client to get a new generation stamp from NameNode

2009-09-15 Thread Hairong Kuang (JIRA)

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

Hairong Kuang updated HDFS-592:
---

Attachment: newGS2.patch

This patch incorporates Kan's reveiw comments and adds a unit test for the new 
API in ClientProtocol.

I understand your concern about the naming of the API and what you said makes 
good sense. But still I do not like the name pipelineRecovery or 
recoverPipeline. This patch uses the name getNewStampForPipeline. If you 
still do not like the name, could we resolve the naming issue later? I will 
keep this in my mind.

 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, newGS2.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.



[jira] Updated: (HDFS-592) Allow client to get a new generation stamp from NameNode

2009-09-15 Thread Hairong Kuang (JIRA)

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

Hairong Kuang updated HDFS-592:
---

Attachment: newGS3.patch

Kan, thanks for catching this. ClientName should never be null in the real 
system. But anyway the new patch checks the null case and adds a new unit test 
for this.

 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, newGS2.patch, newGS3.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.



[jira] Updated: (HDFS-592) Allow client to get a new generation stamp from NameNode

2009-09-11 Thread Hairong Kuang (JIRA)

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

Hairong Kuang updated HDFS-592:
---

Attachment: newGS1.patch

Kan suggested to make the return type of the API to be LocatedBlock that 
encapsulates the new GS and access token. Here is the patch.

 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.