[
https://issues.apache.org/jira/browse/HBASE-6067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281276#comment-13281276
]
Eli Collins commented on HBASE-6067:
------------------------------------
Here's the exception btw when configuring hbase.rootdir to use viewfs:
{noformat}
2012-05-17 14:02:14,327 INFO
org.apache.hadoop.hbase.regionserver.HRegionServer: STOPPED: Failed
initialization
2012-05-17 14:02:14,328 ERROR
org.apache.hadoop.hbase.regionserver.HRegionServer: Failed init
org.apache.hadoop.fs.viewfs.NotInMountpointException: getDefaultBlockSize on
empty path is invalid
at
org.apache.hadoop.fs.viewfs.ViewFileSystem.getDefaultBlockSize(ViewFileSystem.java:488)
at org.apache.hadoop.hbase.regionserver.wal.HLog.<init>(HLog.java:377)
at org.apache.hadoop.hbase.regionserver.wal.HLog.<init>(HLog.java:341)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.instantiateHLog(HRegionServer.java:1229)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.setupWALAndReplication(HRegionServer.java:1218)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.handleReportForDutyResponse(HRegionServer.java:937)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:648)
at java.lang.Thread.run(Thread.java:662)
{noformat}
> 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
>
> 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