hbase 手动split region的patch

在对Region进行手工split的过程中,出现以下异常

./hbase org.apache.hadoop.hbase.util.RegionSplitter -r lsmp_lottery_presplit HexStringSplit


Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://wxlab58:9100/hbase/lsmp_lottery_presplit/_balancedSplit, expected: file:///
        at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:354)
        at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:54)
        at org.apache.hadoop.fs.LocalFileSystem.pathToFile(LocalFileSystem.java:61)
        at org.apache.hadoop.fs.LocalFileSystem.exists(LocalFileSystem.java:51)
        at org.apache.hadoop.hbase.util.RegionSplitter.getSplits(RegionSplitter.java:721)
        at org.apache.hadoop.hbase.util.RegionSplitter.rollingSplit(RegionSplitter.java:407)
        at org.apache.hadoop.hbase.util.RegionSplitter.main(RegionSplitter.java:349)

 

这个HBase的一个bug,HBase0.94 出现以上错误,需要打补丁即可,https://issues.apache.org/jira/browse/HBASE-7048

 

 

 

 

 

你可能感兴趣的:(hbase 手动split region的patch)