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

How revise the code to run against hbase 0.98.4 #3

Open
guxiaobo opened this issue May 18, 2015 · 0 comments
Open

How revise the code to run against hbase 0.98.4 #3

guxiaobo opened this issue May 18, 2015 · 0 comments

Comments

@guxiaobo
Copy link

Hi, I am trying to run the sample code against a hbase 0.98.4 instance, and I use the 0.98.5 version of hbase-client library, but there are compiling errors about the Withinfiler class, it seems there are problems about these two methods:

@OverRide
public void write(DataOutput out) throws IOException {
out.writeUTF(query.toText());
}

@OverRide
public void readFields(DataInput in) throws IOException {
String wkt = in.readUTF();
WKTReader reader = new WKTReader(factory);
try {
this.query = reader.read(wkt);
} catch (ParseException e) {
throw new IOException(e);
}
}

The error messages are: the method readFields(DataInput)of type WithinFilter must override or implement a supertype method.

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

1 participant