You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "zhihai xu (JIRA)" <ji...@apache.org> on 2014/09/30 10:10:34 UTC

[jira] [Created] (HADOOP-11156) DelegateToFileSystem should implement getFsStatus(final Path f).

zhihai xu created HADOOP-11156:
----------------------------------

             Summary: DelegateToFileSystem should implement getFsStatus(final Path f).
                 Key: HADOOP-11156
                 URL: https://issues.apache.org/jira/browse/HADOOP-11156
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
            Reporter: zhihai xu
            Assignee: zhihai xu


DelegateToFileSystem only implemented getFsStatus() and didn't implement getFsStatus(final Path f). So if you call getFsStatus(final Path f), it will call  AbstractFileSystem.getFsStatus(final Path f) which will also call DelegateToFileSystem.getFsStatus(). It should implement getFsStatus(final Path f) to call fsImpl.getStatus(f) instead of calling fsImpl.getStatus() from getFsStatus().




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)