Description
RegionSplitter throws Exception as below.
Exception in thread "main" java.lang.ClassCastException: org.apache.hadoop.hbase.ServerName cannot be cast to java.lang.String
at java.lang.String.compareTo(String.java:108)
at java.util.TreeMap.getEntry(TreeMap.java:346)
at java.util.TreeMap.get(TreeMap.java:273)
at org.apache.hadoop.hbase.util.RegionSplitter$1.compare(RegionSplitter.java:504)
at org.apache.hadoop.hbase.util.RegionSplitter$1.compare(RegionSplitter.java:502)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)
at java.util.TimSort.sort(TimSort.java:189)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at java.util.Collections.sort(Collections.java:217)
at org.apache.hadoop.hbase.util.RegionSplitter.rollingSplit(RegionSplitter.java:502)
at org.apache.hadoop.hbase.util.RegionSplitter.main(RegionSplitter.java:367)