hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1680) FilterList writable only works for HBaseObjectWritable defined types
Date Thu, 23 Jul 2009 05:19:14 GMT

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

stack resolved HBASE-1680.
--------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Committed.

Seems fine to me.

I just hate the bit above it where we create an HBaseConfiguration on serialization/deserialization
but its rare enough in the scheme of things.

Thanks for the patch Clint.

> 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