[ https://issues.apache.org/jira/browse/HADOOP-8422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281888#comment-13281888 ]
Daryn Sharp commented on HADOOP-8422: ------------------------------------- Sounds reasonable to me. You'll probably want to throw up, but could you preserve backwards-compat by using reflection to see if the {{Path}} method is there? > Deprecate FileSystem#getDefault* and getServerDefault methods that don't take > a Path argument > ---------------------------------------------------------------------------------------------- > > Key: HADOOP-8422 > URL: https://issues.apache.org/jira/browse/HADOOP-8422 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 2.0.0-alpha > Reporter: Eli Collins > Assignee: Eli Collins > Priority: Minor > > The javadocs for FileSystem#getDefaultBlockSize and > FileSystem#getDefaultReplication claim that "The given path will be used to > locate the actual filesystem" however they both ignore the path. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira