public SnapshottableDirectoryStatus(long modification_time, long access_time, FsPermission
                                     permission, string owner, string group, byte[] localName, long inodeId, int childrenNum
                                     , int snapshotNumber, int snapshotQuota, byte[] parentFullPath)
 {
     this.dirStatus = new HdfsFileStatus(0, true, 0, 0, modification_time, access_time
                                         , permission, owner, group, null, localName, inodeId, childrenNum, null, BlockStoragePolicySuite
                                         .IdUnspecified);
     this.snapshotNumber = snapshotNumber;
     this.snapshotQuota  = snapshotQuota;
     this.parentFullPath = parentFullPath;
 }
示例#2
0
 public LastBlockWithStatus(LocatedBlock lastBlock, HdfsFileStatus fileStatus)
 {
     this.lastBlock  = lastBlock;
     this.fileStatus = fileStatus;
 }