[
https://issues.apache.org/jira/browse/HDFS-10869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15520269#comment-15520269
]
Hudson commented on HDFS-10869:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10483 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/10483/])
HDFS-10869. Remove the unused method InodeId#checkId(). Contributed by (brahma:
rev 3e37e243ee041e843e060b17c622ab50c8f9ff11)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeId.java
> Remove the unused method InodeId#checkId()
> -------------------------------------------
>
> Key: HDFS-10869
> URL: https://issues.apache.org/jira/browse/HDFS-10869
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Jagadesh Kiran N
> Assignee: Jagadesh Kiran N
> Fix For: 2.8.0, 2.9.0, 3.0.0-alpha2
>
> Attachments: HDFS-10869.patch, HDFS-10869_01.patch
>
>
> The following method in InodeId.java is not used anywhere , We can remove the
> code
> {code}
> public static void checkId(long requestId, INode inode)
> throws FileNotFoundException {
> if (requestId != HdfsConstants.GRANDFATHER_INODE_ID && requestId !=
> inode.getId()) {
> throw new FileNotFoundException(
> "ID mismatch. Request id and saved id: " + requestId + " , "
> + inode.getId() + " for file " + inode.getFullPathName());
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]