Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Later
-
None
-
None
-
None
-
None
Description
INodeFile oldFile = INodeFile.valueOf(iip.getLastINode(), path, true); if (oldFile != null && addCloseOp.overwrite) { ... INodeFile newFile = oldFile; ... // Update the salient file attributes. newFile.setAccessTime(addCloseOp.atime, Snapshot.CURRENT_STATE_ID); newFile.setModificationTime(addCloseOp.mtime, Snapshot.CURRENT_STATE_ID);
The last two lines are not protected by null check.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-10729 Improve log message for edit loading failures caused by FS limit checks.
- Resolved