Skip to main content

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


Popular posts from this blog

Find and replace with sed command in Linux

Find and replace feature is always handy. It can turn into a torture when it comes to change or delete a simple constant string in a text file. There is a handy tool in linux for doing these kind of tihngs. Actually sed is not a text editor but it is used outside of the text file to make changes.