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)

Reply via email to