[ https://issues.apache.org/jira/browse/HADOOP-8422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-8422: -------------------------------- Component/s: fs Description: 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 means if you call these methods with viewfs you'll get a NotInMountpointException even though the given path may in fact refer to a fs with a default replication or block size. This prevents users like HBase from running using a client configured with viewfs, eg setting hbase.rootdir to viewfs://cluster1/hbase. Priority: Minor (was: Major) Target Version/s: 2.0.1 Affects Version/s: 2.0.0 Summary: FileSystem#getDefaultBlockSize and Replication don't use the given path (was: FileSystem#getDefaultBlockSize ) > FileSystem#getDefaultBlockSize and Replication don't use the given path > ----------------------------------------------------------------------- > > 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 > Reporter: 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 means if you call these methods with viewfs you'll get a > NotInMountpointException even though the given path may in fact refer to a fs > with a default replication or block size. This prevents users like HBase from > running using a client configured with viewfs, eg setting hbase.rootdir to > viewfs://cluster1/hbase. -- 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