WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Hbase custom filter

Hbase custom filter

by cldo :: Rate this Message:

| View in Thread

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

 « Return to Thread: Hbase custom filter