You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/07/23 17:07:33 UTC

[jira] Resolved: (HBASE-763) ClassCastException from RowResult.get(String)

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

stack resolved HBASE-763.
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.2.0

Committed.  Thanks for the patch Andrew.

> ClassCastException from RowResult.get(String)
> ---------------------------------------------
>
>                 Key: HBASE-763
>                 URL: https://issues.apache.org/jira/browse/HBASE-763
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>             Fix For: 0.2.0
>
>         Attachments: RowResult.patch, simpletest.java
>
>
> [hadoop@sjdc-atr-dns column-test]$ hbase net.iridiant.simpletest.Main --master=10.30.94.1:60000
> Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to [B
>         at org.apache.hadoop.hbase.util.Bytes$1.compare(Bytes.java:32)
>         at java.util.TreeMap.getEntryUsingComparator(TreeMap.java:351)
>         at java.util.TreeMap.getEntry(TreeMap.java:322)
>         at java.util.TreeMap.get(TreeMap.java:255)
>         at org.apache.hadoop.hbase.io.HbaseMapWritable.get(HbaseMapWritable.java:112)
>         at org.apache.hadoop.hbase.io.RowResult.get(RowResult.java:79)
>         at net.iridiant.simpletest.Main.main(Unknown Source)
> Please see attached testcase.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.