Skip to main content

Posts

Showing posts from September, 2013

Pig Latin Error 2998 when loading data from HBaseStorage

ERROR 2998: Unhandled internal error. org/apache/hadoop/hbase/filter/WritableByteArrayComparable
java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/filter/WritableByteArrayComparable
Probably your PIG_CLASSPATH does not contain hbase jars. PIG_CLASSPATH should contain them like:
export PIG_CLASSPATH=/<hbase_home>/<hbase-your_version.jar>:<hbase_home>/lib/<zookeeper-your_version.jar>:$PIG_CLASSPATH