You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Jagadesh Kiran N (JIRA)" <ji...@apache.org> on 2016/09/19 14:14:20 UTC
[jira] [Created] (HDFS-10869) Unused method checkId() in
InodeId.java file
Jagadesh Kiran N created HDFS-10869:
---------------------------------------
Summary: Unused method checkId() in InodeId.java file
Key: HDFS-10869
URL: https://issues.apache.org/jira/browse/HDFS-10869
Project: Hadoop HDFS
Issue Type: Bug
Components: namenode
Reporter: Jagadesh Kiran N
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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org