I saw the vote thread for RC2, so tried to build my project against it.

My build fails when I depend on 1.1.0. I created a bare bones project
to show the issue I'm running into:
https://github.com/housejester/hbase-deps-test

To be clear, it works in 1.0.0 (and I did add the repository).

Further, we have a coprocessor and when I stand up a 1.1.0 HBase and
call my endpoint, I get:

! Caused by: java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment.getRegion()Lorg/apache/hadoop/hbase/regionserver/HRegion;

The same coprocessor works under 1.0.0.

So, it looks like RegionCoprocessorEnvironment.getRegion() has been removed?

The Audience annotation is:
@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC)
@InterfaceStability.Evolving

Since it is Evolving it is allowed to change in a breaking way. I'm
trying to think about how I migrate. I guess I deploy a new coproc
that uses whatever the new method is, and then in my client, detect at
runtime which HBase version I'm talking to and use that to determine
which coprocessor to hit?

Thanks,
James

Reply via email to