Hello,
I am trying to use a RowFilter and continue to get the following error:
Exception in thread "main"
org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to
contact region server 127.0.0.1:54441 for region
TableData,,1254329413425, row '', but failed after 10 attempts.
Exceptions:
java.io.IOException: Call to /127.0.0.1:54441 failed on local
exception: java.io.EOFException
java.io.IOException: Call to /127.0.0.1:54441 failed on local
exception: java.io.EOFException
java.io.IOException: Call to /127.0.0.1:54441 failed on local
exception: java.io.EOFException
...
Here is the code:
HBaseConfiguration conf = new HBaseConfiguration();
HTable table = new HTable(conf, tableName);
Scan scan = new Scan();
scan.setMaxVersions();
scan.setTimeRange(timeStart, timeEnd);
RowFilter rf = new RowFilter(CompareOp.EQUAL, new
SubstringComparator("abc"));
scan.setFilter(rf);
ResultScanner scanner = table.getScanner(scan);
I've never came across this before until I started trying to use
RowFilter. And if I comment out the setFilter function, there is no
longer a problem. Actually, I get the exact same error for any type of
Filter I attempt to use. I'm using 0.20 on a pseudo-dist setup -
standard config as in the Getting Started docs. Any ideas on this? Am
I using the Filter correctly?
Thanks
J