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

HBase won't start when hbase.rootdir uses ViewFileSystem

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.1, 0.95.0
    • regionserver
    • 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

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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment