hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Néstor Boscán <nesto...@gmail.com>
Subject Invalid Comparater or Expected 4 or 6 but got: N using filter with Java Thrift API
Date Wed, 26 Nov 2014 11:12:15 GMT
Hi

I've tried to apply the filters using the Java Thrift API but I get in the
Thrift server log screen:

SingleColumnValueFilter('familycolumn', 'column', =, 'value') =>
IllegalArgumentException: Invalid comparator
SingleColumnValueFilter('familycolumn', 'column', EQUAL, 'value') =>
IllegalArgumentException: Invalid comparator
SingleColumnValueFilter('familycolumn', 'column', 'EQUAL', 'value') =>
IllegalArgumentException: Invalid comparator
SingleColumnValueFilter('familycolumn', 'column',
CompareFilter::CompareOp.valueOf('EQUAL'), 'value') =>
IllegalArgumentException: Expected 4 or 6 but got: 3
SingleColumnValueFilter(Bytes.toBytes('familycolumn'),
Bytes.toBytes('column'), CompareFilter::CompareOp.valueOf('EQUAL'),
Bytes.toBytes('value')) => IllegalArgumentException: Expected 4 or 6 but
got: 1

I couldn't find on the Internet an example of a SingleColumnValueFilter
with the Thrift Java API.

Regards,

Néstor

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message