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

Daryn Sharp commented on HBASE-6067:
------------------------------------

{{getMethod}} should be used instead of {{getDeclaredMethod}} since most 
filesystems, like DFS, currently rely on the default impl of the path accepting 
methods in {{FileSystem}} to call the non-path methods (which are or should be 
deprecated).  I don't think {{getDeclaredMethod}} will search the superclasses, 
so it will always fallback to the non-path version when the fs isn't viewfs.
                
> HBase won't start when hbase.rootdir uses ViewFileSystem
> --------------------------------------------------------
>
>                 Key: HBASE-6067
>                 URL: https://issues.apache.org/jira/browse/HBASE-6067
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Eli Collins
>            Assignee: Zhihong Ted Yu
>             Fix For: 0.96.0, 0.94.1, 0.92.3
>
>         Attachments: 6067-v2.txt, 6067.txt
>
>
> HBase currently doesn't work with HDFS federation (hbase.rootdir with a 
> client that uses viewfs) because HLog#init uses 
> FileSystem#getDefaultBlockSize and getDefaultReplication. These throw an 
> exception because there is no default filesystem in a viewfs client so 
> there's no way to determine a default block size or replication factor. They 
> could use the versions of these methods that take a path, however these were 
> introduced in HADOOP-8014 and are not yet available in Hadoop 1.x.

--
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