CDH4 Hbase using Pig ERROR 2998 java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/filter/Filter

前端 未结 1 1930
梦毁少年i
梦毁少年i 2020-12-19 13:02

I am using CDH4 in a pseudo-distributed mode and I have some trouble working with HBase and Pig together (but both work fine alone).

I am following step by step this

相关标签:
1条回答
  • 2020-12-19 13:38

    Your PIG_CLASSPATH is wrong, it should look like the following:

    export PIG_CLASSPATH=”`hbase classpath`:$PIG_CLASSPATH”
    

    This will add your missing hbase-related jars to your classpath for Pig.

    0 讨论(0)
提交回复
热议问题