Ejemplo n.º 1
0
        /// <exception cref="System.IO.IOException"/>
        /// <exception cref="Org.Apache.Hadoop.FS.UnresolvedLinkException"/>
        public override FileStatus GetFileStatus(Path f)
        {
            HdfsFileStatus fi = dfs.GetFileInfo(GetUriPath(f));

            if (fi != null)
            {
                return(fi.MakeQualified(GetUri(), f));
            }
            else
            {
                throw new FileNotFoundException("File does not exist: " + f.ToString());
            }
        }