HDFS-7155. Bugfix in createLocatedFileStatus caused by bad merge. (Arpit Agarwal)
This commit is contained in:
parent
7060502edb
commit
a2d4edacea
|
@ -80,4 +80,6 @@
|
|||
HDFS-7144. Fix findbugs warnings in RamDiskReplicaTracker. (szetszwo via
|
||||
Arpit Agarwal)
|
||||
|
||||
HDFS-7155. Bugfix in createLocatedFileStatus caused by bad merge.
|
||||
(Arpit Agarwal)
|
||||
|
||||
|
|
|
@ -2457,6 +2457,7 @@ public class FSDirectory implements Closeable {
|
|||
final INodeFile fileNode = node.asFile();
|
||||
size = fileNode.computeFileSize(snapshot);
|
||||
replication = fileNode.getFileReplication(snapshot);
|
||||
blocksize = fileNode.getPreferredBlockSize();
|
||||
isLazyPersist = fileNode.getLazyPersistFlag();
|
||||
|
||||
final boolean inSnapshot = snapshot != Snapshot.CURRENT_STATE_ID;
|
||||
|
|
Loading…
Reference in New Issue