Yes, I just ran into the same issue. Sigh. I guess one workaround is to try to make AsyncHBase's jar show up first on the class path, although that's not always as easy to do as it might sound.
I'm copying hbase-dev so that they are aware of the problem. My trick was ported to HBase in HBASE-9867, but it wasn't ported properly. It doesn't look like the zeroCopyGetBytes helper is used in HBase (I checked 0.96, 0.98, and trunk). So the best course of action seems to be to fix the signature of the method in HBase.
On Mon, Jan 27, 2014 at 1:02 AM, Nicolas Liochon <[EMAIL PROTECTED]> wrote:
I don't mind keeping the same name as long as we agree on the API. I don't expect this class to change much if at all anyway. It's just really unfortunate that this method was changed, what's more with a signature that renders it unusable.
So is the suggestion to just add the other signature to hbase's version?
We recently ran into another problem due to this ZeroCopy class -- shouldn't it really be pushed into protobuf, or pulled out as a separate jar of some sort. We ran into into class path/class loader problems with it because if subclasses a com.google.protobuf class (out of a package).
Jon. On Mon, Jan 27, 2014 at 8:35 AM, tsuna <[EMAIL PROTECTED]> wrote: // Jonathan Hsieh (shay) // HBase Tech Lead, Software Engineer, Cloudera // [EMAIL PROTECTED] // @jmhsieh
On Mon, Jan 27, 2014 at 9:48 AM, Jonathan Hsieh <[EMAIL PROTECTED]> wrote:
Can't do that since the change is changing the param to be its superclass instead.
Yeah, issue was that ZC was loaded by a classloader other than by the classloader that loaded the rest of protobuf package content (mapreducing hadoop has loaded the pb jar but not ZC, hbase wants and loads ZC --> illegalaccess).
On Mon, Jan 27, 2014 at 5:35 PM, tsuna <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext