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 17:43:41 GMT

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

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

Should mentioned that I considered defining hbase.regionserver.hlog.blocksize and hbase.regionserver.hlog.tolerable.lowreplication
in hbase-default.xml and use constants in the code like the other parameters but then (1)
you can have a mismatch between hbase and hdfs' parameter values and (2) HBase supports non-HDFS
file systems which may want different default values.
                
> 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