HBase version: hbase-0.98.2-hadoop1, stand-alone mode. I extends FilterBase, then writes NOTHING in it, put the jar into lib, run a scan with it, nothing happens. It keeps going like forever Then I tried edit the Filter.proto and generated new FilterProto.java, compile it and put those files into hbase-protocol-0.98.2-hadoop1.jar. Same. The only way to make it work is by extending an existed filter, but it works exactly as that one, even after I override it's functions. Michael.Calvin.Shi
THERE IS NO ABSTRACT METHODS IN FILTERBASE AT VERSION 0.98. And please read this, if you don't have time to see the source code: /** * Abstract base class to help you implement new Filters. Common "ignore" or NOOP type * methods can go here, helping to reduce boiler plate in an ever-expanding filter * library. * * If you could instantiate FilterBase, it would end up being a "null" filter - * that is one that never filters anything. */
Yes, It works , thank you very much. And I also find out custom filter needs to be serialized and then deserialized to work properly. That means I still need to find who serialized it and how the parameters serialized. I just want to know one more thing: Who the Fxxk is responsible for NEVER EVER mentioning this ? Michael.Calvin.Shi Ted Yu <yuzhihong@...> writes:
Cheers On Thu, Jul 17, 2014 at 11:34 AM, Dima Spivak <[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