hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12977) Add stateId to RPC headers.
Date Sat, 17 Mar 2018 01:05:00 GMT

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

Konstantin Shvachko commented on HDFS-12977:
--------------------------------------------

Great! One last thing. Out of those [checkstyle warnings|https://builds.apache.org/job/PreCommit-HDFS-Build/23527/artifact/out/diff-checkstyle-root.txt]
from last build, the last one actually worth fixing:
{code:java}
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java:219:
 volatile long lastSeenStateId;:17: Variable 'lastSeenStateId' must be private and have accessor
methods. [VisibilityModifier]{code}

> Add stateId to RPC headers.
> ---------------------------
>
>                 Key: HDFS-12977
>                 URL: https://issues.apache.org/jira/browse/HDFS-12977
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ipc, namenode
>            Reporter: Konstantin Shvachko
>            Assignee: Plamen Jeliazkov
>            Priority: Major
>         Attachments: HDFS_12977.trunk.001.patch, HDFS_12977.trunk.002.patch, HDFS_12977.trunk.003.patch,
HDFS_12977.trunk.004.patch, HDFS_12977.trunk.005.patch, HDFS_12977.trunk.006.patch, HDFS_12977.trunk.007.patch,
HDFS_12977.trunk.008.patch
>
>
> stateId is a new field in the RPC headers of NameNode proto calls.
> stateId is the journal transaction Id, which represents LastSeenId for the clients and
LastWrittenId for NameNodes. See more in [reads from Standby design doc|https://issues.apache.org/jira/secure/attachment/12902925/ConsistentReadsFromStandbyNode.pdf].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message