HDFS-12312. Rebasing HDFS-10467 (2). Contributed by Inigo Goiri.

(cherry picked from commit 90ba6843fb)
(cherry picked from commit 346c9fce43)
This commit is contained in:
Inigo Goiri 2017-08-16 17:31:37 -07:00
parent 0b599cdc87
commit 36c3515fbb
1 changed files with 1 additions and 0 deletions

View File

@ -1946,6 +1946,7 @@ public class RouterRpcServer extends AbstractService implements ClientProtocol {
} }
long inodeId = 0; long inodeId = 0;
return new HdfsFileStatus(0, true, 0, 0, modTime, accessTime, permission, return new HdfsFileStatus(0, true, 0, 0, modTime, accessTime, permission,
EnumSet.noneOf(HdfsFileStatus.Flags.class),
owner, group, new byte[0], DFSUtil.string2Bytes(name), inodeId, owner, group, new byte[0], DFSUtil.string2Bytes(name), inodeId,
childrenNum, null, (byte) 0, null); childrenNum, null, (byte) 0, null);
} }