Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Reverting HDFS-6527 from 2.4.1. Also updating the release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kihwal committed Jun 25, 2014
1 parent 95a6618 commit c96c8e4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 164 deletions.
Expand Up @@ -510,10 +510,6 @@ <h2>Changes since Hadoop 2.4.0</h2>
Trivial bug reported by Todd Lipcon and fixed by Chen He <br>
<b>docs for map output compression incorrectly reference SequenceFile</b><br>
<blockquote></blockquote></li>
<li> <a href="https://issues.apache.org/jira/browse/HDFS-6527">HDFS-6527</a>.
Blocker bug reported by Kihwal Lee and fixed by Kihwal Lee <br>
<b>Edit log corruption due to defered INode removal</b><br>
<blockquote></blockquote></li>
<li> <a href="https://issues.apache.org/jira/browse/HDFS-6411">HDFS-6411</a>.
Major bug reported by Zhongyi Xie and fixed by Brandon Li (nfs)<br>
<b>nfs-hdfs-gateway mount raises I/O error and hangs when a unauthorized user attempts to access it</b><br>
Expand Down
3 changes: 0 additions & 3 deletions hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
Expand Up @@ -89,9 +89,6 @@ Release 2.4.1 - 2014-06-23
HDFS-6411. nfs-hdfs-gateway mount raises I/O error and hangs when a
unauthorized user attempts to access it (brandonli)

HDFS-6527. Edit log corruption due to defered INode removal. (kihwal and
jing9 via jing9)

Release 2.4.0 - 2014-04-07

INCOMPATIBLE CHANGES
Expand Down
Expand Up @@ -2962,13 +2962,6 @@ private INodeFile checkLease(String src, long fileId, String holder,
+ (lease != null ? lease.toString()
: "Holder " + holder + " does not have any open files."));
}
// No further modification is allowed on a deleted file.
// A file is considered deleted, if it has no parent or is marked
// as deleted in the snapshot feature.
if (file.getParent() == null || (file.isWithSnapshot() &&
file.getFileWithSnapshotFeature().isCurrentFileDeleted())) {
throw new FileNotFoundException(src);
}
String clientName = file.getFileUnderConstructionFeature().getClientName();
if (holder != null && !clientName.equals(holder)) {
throw new LeaseExpiredException("Lease mismatch on " + src + " owned by "
Expand Down Expand Up @@ -3378,7 +3371,6 @@ private boolean deleteInternal(String src, boolean recursive,
getEditLog().logSync();
removeBlocks(collectedBlocks); // Incremental deletion of blocks
collectedBlocks.clear();

dir.writeLock();
try {
dir.removeFromInodeMap(removedINodes);
Expand Down

This file was deleted.

0 comments on commit c96c8e4

Please sign in to comment.