HDFS-7190. Bad use of Preconditions in startFileInternal(). Contributed by Dawson Choong.

This commit is contained in:
Haohui Mai 2014-10-14 23:42:19 -07:00
parent bec165e163
commit 3ee0a5892b
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,9 @@ Release 2.7.0 - UNRELEASED
HDFS-7201. Fix typos in hdfs-default.xml. (Dawson Choong via wheat9)
HDFS-7190. Bad use of Preconditions in startFileInternal().
(Dawson Choong via wheat9)
Release 2.6.0 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -2648,7 +2648,6 @@ public class FSNamesystem implements Namesystem, FSClusterStats,
edek.getEncryptedKeyVersion().getMaterial(),
edek.getEncryptedKeyIv(),
ezKeyName, edek.getEncryptionKeyVersionName());
Preconditions.checkNotNull(feInfo);
}
final INodeFile myFile = INodeFile.valueOf(inode, src, true);