hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeongdae Kim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17062) RegionSplitter throws ClassCastException
Date Thu, 10 Nov 2016 11:59:58 GMT

     [ https://issues.apache.org/jira/browse/HBASE-17062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeongdae Kim updated HBASE-17062:
---------------------------------
    Status: Patch Available  (was: Open)

> RegionSplitter throws ClassCastException
> ----------------------------------------
>
>                 Key: HBASE-17062
>                 URL: https://issues.apache.org/jira/browse/HBASE-17062
>             Project: HBase
>          Issue Type: Bug
>          Components: util
>            Reporter: Jeongdae Kim
>            Priority: Minor
>         Attachments: HBASE-17062.001.patch
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message