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

Regionsplitter requires the hadoop config path to be in hbase classpath

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.92.2
    • Fix Version/s: 0.94.3, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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-0.94.patch
          1 kB
          Ming Ma
        2. 7048-trunk.patch
          1 kB
          Ming Ma

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yuzhihong@gmail.com Ted Yu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment