It means that java run time can't find org/apache/hadoop/hbase/filter/FilterBase class. You have to add the hbase.jar in your classpath.
regards! Yong On Wed, May 2, 2012 at 12:12 PM, cldo <datk...@gmail.com> wrote: > > i want to custom filter hbase. > i created jar file by eclipse, copy to sever and in file hbase-env.xml i set > "export HBASE_CLASSPATH=/cldo/hadoop/conf;/cldo/customfilter.jar > > but when start have error > > /cldo/hbase/bin/../conf/hbase-env.sh: line 29: /cldo/customfilter.jar: > cannot execute binary file > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/hadoop/hbase/filter/FilterBase > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) > at java.lang.ClassLoader.defineClass(ClassLoader.java:615) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) > at java.net.URLClassLoader.access$000(URLClassLoader.java:58) > at java.net.URLClassLoader$1.run(URLClassLoader.java:197) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > thank > -- > View this message in context: > http://old.nabble.com/Hbase-custom-filter-tp33763367p33763367.html > Sent from the HBase User mailing list archive at Nabble.com. >