hbase-issues mailing list archives

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

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

Ted Yu updated HBASE-17062:
---------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 1.4.0
                   2.0.0
           Status: Resolved  (was: Patch Available)

Thanks for the patch, Jeongdae

> 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
>            Assignee: Jeongdae Kim
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-17062.001.patch, HBASE-17062.002.patch, HBASE-17062.003.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