Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
The following method in InodeId.java is not used anywhere , We can remove the 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()); } }
Attachments
Attachments
Issue Links
- is related to
-
HDFS-6294 Use INode IDs to avoid conflicts when a file open for write is renamed
- Closed