hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6067) HBase won't start when hbase.rootdir uses ViewFileSystem
Date Wed, 23 May 2012 20:25:41 GMT

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

Eli Collins commented on HBASE-6067:
------------------------------------

It points to a the hbase directory on a viewfs mount (the URI is viewfs://cluster2/hbase).

Per HADOOP-8422 I think we should backport the new methods to branch-1 and modify HBase here
to use them. This means the next HBase release with this patch would require Hadoop 1.1 or
later. This might be reasonable given that Hadoop 1.1 is the first 1.x release that will support
HBase out of the box, obviously would like the HBase guys input on this before proceeding.
                
> 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

        

Mime
View raw message