private INodeAttributes GetINodeAttrs(byte[][] pathByNameArr, int pathIdx, INode inode, int snapshotId) { INodeAttributes inodeAttrs = inode.GetSnapshotINode(snapshotId); if (GetAttributesProvider() != null) { string[] elements = new string[pathIdx + 1]; for (int i = 0; i < elements.Length; i++) { elements[i] = DFSUtil.Bytes2String(pathByNameArr[i]); } inodeAttrs = GetAttributesProvider().GetAttributes(elements, inodeAttrs); } return(inodeAttrs); }