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

Regionsplitter requires the hadoop config path to be in hbase classpath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.2
    • 0.94.3, 0.95.0
    • None
    • None
    • Reviewed

    Description

      When hadoop config path isn't included in hbase classpath, you will get the following:

      Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://t3.e.com/hbase/usertable/_balancedSplit, expected: file:///
      at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:454)
      at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:67)
      at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:431)
      at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:301)
      at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1005)
      at org.apache.hadoop.hbase.util.RegionSplitter.getSplits(RegionSplitter.java:643)
      at org.apache.hadoop.hbase.util.RegionSplitter.rollingSplit(RegionSplitter.java:367)
      at org.apache.hadoop.hbase.util.RegionSplitter.main(RegionSplitter.java:295)
      

      Attachments

        1. 7048-trunk.patch
          1 kB
          Ming Ma
        2. 7048-0.94.patch
          1 kB
          Ming Ma

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: