Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not filter a table in hbase0.96 or 0.98 #58

Closed
bachvtuan opened this issue Feb 25, 2014 · 3 comments
Closed

Can not filter a table in hbase0.96 or 0.98 #58

bachvtuan opened this issue Feb 25, 2014 · 3 comments

Comments

@bachvtuan
Copy link

Hi, I have just upgraded hbase from 0.94 to 0.96. happybase work fine except filter table.
Below is my code:

connection = happybase.Connection(host='localhost', port=9090,autoconnect=False,transport='buffered')
connection.open()
filter_string = "SingleColumnValueFilter ('info', 'user_name', =, 'binary:user1')"
table = connection.table('my_table')
data_scan = table.scan(filter= filter_string)

And below is hbase log:

 2014-02-25 10:16:14,097 ERROR [RpcServer.handler=11,port=58866] ipc.RpcServer: Unexpected throwable object 
org.apache.hadoop.hbase.filter.IncompatibleFilterException: Cannot set batch on a scan using a filter that returns true for filter.hasFilterRow.

Can you help me ?

@wbolster
Copy link
Member

I think this is a duplicate of #54.

@wbolster
Copy link
Member

Yes, this is the same as #54 and #56; closing this one. I'm working on a fix.

@wbolster
Copy link
Member

Should be fixed in 0.8 (just released).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants