hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doğacan Güney (JIRA) <j...@apache.org>
Subject [jira] Updated: (HBASE-1646) Scan-s can't set a Filter
Date Sat, 11 Jul 2009 11:29:14 GMT

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

Doğacan Güney updated HBASE-1646:
---------------------------------

    Attachment: scan.patch

You can just change third arg to this.filter.getClass() too. But using HbaseObjectWritable,
you can not write your own classes as HOW throws exception if you give it a class that in
not in its map. 

This patch instead just reads/writes the full class name.

> Scan-s can't set a Filter
> -------------------------
>
>                 Key: HBASE-1646
>                 URL: https://issues.apache.org/jira/browse/HBASE-1646
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Doğacan Güney
>         Attachments: scan.patch
>
>
> Scan#write:
> {code}
>       HbaseObjectWritable.writeObject(out, this.filter, Filter.class, null);
> {code}
> Because of the third argument (Filter.class), HbaseObjectWritable can not write or read
the filter (as Filter is not instantiable).

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


Mime
View raw message