The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Hue Forum

Pig with hbase errors

  • #54132
    Sergio Rodríguez


    I’m trying to do a test with pig and HBase. The same test works within grunt
    The simple test, read from a text file and save to a HBase table, but always gives the same error

    ERROR – ERROR 2998: Unhandled internal error. org/apache/hadoop/hbase/filter/Filter

    Is a problem with libraries?
    How can I fix it?

    I have this versions
    Hue 2.3.0-101
    HDP 2.0.6
    Hadoop 2.2.0
    HCatalog 0.12.0
    Pig 0.12.0
    Hive 0.12.0
    Oozie 4.0.0
    Ambari 1.4.3
    HBase 0.96.1

  • Author
  • #54135

    Hi Sergio,

    Does your pig script run outside of Hue and run correctly in the grunt shell?

    What does the hue log show?



    Sergio Rodríguez

    Thanks for reply Dave,

    Yes, pig script only fail in hue.
    The hue log is too long, all entries are “INFO” minus…

    2014-05-21 10:21:48,859 [main] ERROR – ERROR 2998: Unhandled internal error. org/apache/hadoop/hbase/filter/Filter
    Details at logfile: /hadoop/yarn/local/usercache/sdoopalcala/appcache/application_1400617092427_0127/container_1400617092427_0127_01_000002/pig_1400660502313.log


    Hi Sergio,

    If you run the following command as the user of the pig job (probably hue, yarn):

    yarn logs -applicationId application_1400617092427_0127

    Do you get the logs for the application which should point you to what the exception is.
    Or you can look at the application logs via the Yarn Resource Manager.



    Sergio Rodríguez


    You can see log of another execution here:

    In Hue, after execution, I have the same error:
    2014-05-26 10:01:28,427 [main] ERROR – ERROR 2998: Unhandled internal error. org/apache/hadoop/hbase/filter/Filter

    I have used this command to extract this log:
    yarn logs -applicationId application_1401088245146_0028



    In hue are you registering the zookeeper and hbase jars – so that pig can use hbase from within hue?



    Sergio Rodríguez


    It was a problem with zookeeper conf

    I need set hbase.zookeeper.quorum and zookeeper.znode.parent in each script to work fine

    Thanks !!!

The topic ‘Pig with hbase errors’ is closed to new replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.