[
https://issues.apache.org/jira/browse/HBASE-6067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihong Yu updated HBASE-6067:
------------------------------
Attachment: 6067.txt
Patch v1 introduces reflection to detect the presence of
getDefaultBlockSize(Path f)
TestHLog passes.
> 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: Eli Collins
> Attachments: 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