Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6067

HBase won't start when hbase.rootdir uses ViewFileSystem

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.1, 0.95.0
    • Component/s: regionserver
    • Labels:
      None
    • Hadoop Flags:
      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

        1. 6067.txt
          2 kB
          Ted Yu
        2. 6067-v2.txt
          2 kB
          Ted Yu
        3. 6067-addendum.txt
          0.7 kB
          Ted Yu

          Issue Links

            Activity

              People

              • Assignee:
                zhihyu@ebaysf.com Ted Yu
                Reporter:
                eli2 Eli Collins
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: