[
https://issues.apache.org/jira/browse/HDFS-13331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419704#comment-16419704
]
Plamen Jeliazkov commented on HDFS-13331:
-----------------------------------------
Yes you are correct. I brought up that concern in the last patch as well
stating that I was not happy with the use of a static method in Client as a way
to handle alignmentContext, but it seems that point was glossed over.
I mentioned this:
https://issues.apache.org/jira/browse/HDFS-12977?focusedCommentId=16372125&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16372125
And here:
https://issues.apache.org/jira/browse/HDFS-12977?focusedCommentId=16386960&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16386960
My issue was that I had difficulty finding a way to pass in alignmentContext
into Client constructor. I am happy to try again though.
> Add lastSeenStateId to RpcRequestHeader.
> ----------------------------------------
>
> Key: HDFS-13331
> URL: https://issues.apache.org/jira/browse/HDFS-13331
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: HDFS-12943
> Reporter: Plamen Jeliazkov
> Assignee: Plamen Jeliazkov
> Priority: Major
> Attachments: HDFS-13331-HDFS-12943.002.patch,
> HDFS-13331-HDFS-12943.003..patch, HDFS-13331.trunk.001.patch,
> HDFS_13331.trunk.000.patch
>
>
> HDFS-12977 added a stateId into the RpcResponseHeader which is returned by
> NameNode and stored by DFSClient.
> This JIRA is to followup on that work and have the DFSClient send their
> stored "lastSeenStateId" in the RpcRequestHeader so that ObserverNodes can
> then compare with their own and act accordingly.
> This JIRA work focuses on just the part of making DFSClient send their state
> through RpcRequestHeader.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]