Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
FLUME-2027 Check for default replication fails on federated cluster in hdfs sink
- Resolved
- relates to
-
HADOOP-8422 Deprecate FileSystem#getDefault* and getServerDefault methods that don't take a Path argument
- Closed