[ 
https://issues.apache.org/jira/browse/HADOOP-8422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281576#comment-13281576
 ] 

Daryn Sharp commented on HADOOP-8422:
-------------------------------------

It's probably a good idea back-port to 1.x.  The changes are rather minimal and 
low impact.  The ramifications of not having the changes in 1.x are pretty bad. 
 Viewfs will use a replication factor of 1 and the local filesystem's block 
size...

Out of curiousity, why is HBase querying the default block size?  Does it 
really need to?  Ie. If only to pass to {{FileSystem#create}} calls, could it 
use the {{create}} methods with smaller signatures that automatically get the 
replication factor and block size for the new path?
                
> 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 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

        

Reply via email to