hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1680) FilterList writable only works for HBaseObjectWritable defined types
Date Wed, 22 Jul 2009 23:11:16 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734373#action_12734373
] 

Jonathan Gray commented on HBASE-1680:
--------------------------------------

@Clint, Are you trying to send custom Filter implementations over the wire as well?  Maybe
I'm confused about what you're trying to do, could you describe?

We are looking at how to do dynamic filters in HBASE-1288.

> FilterList writable only works for HBaseObjectWritable defined types
> --------------------------------------------------------------------
>
>                 Key: HBASE-1680
>                 URL: https://issues.apache.org/jira/browse/HBASE-1680
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: Clint Morgan
>             Fix For: 0.20.0
>
>         Attachments: 1680.patch, HBASE-1680-v2.patch
>
>
> So I can't have a filter list of my own filters. (Also a filter list of filter lists
does not work because FilterList is not in HBaseObjectWritable)
> java.lang.UnsupportedOperationException: No code for unexpected class org.apache.hadoop.hbase.filter.FilterList
> 	at org.apache.hadoop.hbase.io.HbaseObjectWritable.writeClassCode(HbaseObjectWritable.java:246)
> 	at org.apache.hadoop.hbase.io.HbaseObjectWritable.writeObject(HbaseObjectWritable.java:273)
> 	at org.apache.hadoop.hbase.filter.FilterList.write(FilterList.java:214)
> 	at org.apache.hadoop.hbase.client.Scan.write(Scan.java:532)
> 	at org.apache.hadoop.hbase.io.HbaseObjectWritable.writeObject(HbaseObjectWritable.java:323)
> 	at org.apache.hadoop.hbase.ipc.HBaseRPC$Invocation.write(HBaseRPC.java:184)
> 	at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.sendParam(HBaseClient.java:475)
> 	at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:708)
> 	at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:328)
> 	at $Proxy70.openScanner(Unknown Source)
> 	at org.apache.hadoop.hbase.client.transactional.TransactionScannerCallable.openScanner(TransactionScannerCallable.java:46)
> 	at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:74)
> 	at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:32)
> 	at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getRegionServerWithRetries(HConnectionManager.java:926)
> 	at org.apache.hadoop.hbase.client.HTable$ClientScanner.nextScanner(HTable.java:1859)
> 	at org.apache.hadoop.hbase.client.HTable$ClientScanner.initialize(HTable.java:1807)
> 	at org.apache.hadoop.hbase.client.transactional.TransactionalTable.getScanner(TransactionalTable.java:166)
> 	at net.troove.ddbc.hbase.HBaseHelper$7.call(HBaseHelper.java:303)
> 	at net.troove.ddbc.hbase.HBaseHelper$7.call(HBaseHelper.java:1)
> 	at net.troove.utils.RetryUtils.callWithRetry(RetryUtils.java:40)

-- 
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