return localFS.getFileStatus(new Path(path.toUri().getPath()));
}
public KfsFileAttr fullStat(Path path) throws IOException {
FileStatus fs = localFS.getFileStatus(new Path(path.toUri().getPath()));
KfsFileAttr fa = new KfsFileAttr();
fa.filename = fs.getPath().toUri().getPath();
fa.isDirectory = fs.isDir();
fa.filesize = fs.getLen();
fa.replication = fs.getReplication();
fa.modificationTime = fs.getModificationTime();