Home Forums Hue Pig with hbase errors

Tagged: 

This topic contains 6 replies, has 2 voices, and was last updated by  Sergio Rodríguez 4 months, 2 weeks ago.

  • Creator
    Topic
  • #54132

    Sergio Rodríguez
    Participant

    Hi,

    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 org.apache.pig.tools.grunt.Grunt – 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

Viewing 6 replies - 1 through 6 (of 6 total)

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

  • Author
    Replies
  • #55567

    Sergio Rodríguez
    Participant

    HI,

    It was a problem with zookeeper conf

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

    Thanks !!!

    Collapse
    #54650

    Dave
    Moderator

    Hi,

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

    Thanks

    Dave

    Collapse
    #54431

    Sergio Rodríguez
    Participant

    Hi,

    You can see log of another execution here:

    https://drive.google.com/file/d/0B3-jQx7zejrmMEV6TktOaC1nN0k/edit?usp=sharing

    In Hue, after execution, I have the same error:
    2014-05-26 10:01:28,427 [main] ERROR org.apache.pig.tools.grunt.Grunt – 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

    Collapse
    #54147

    Dave
    Moderator

    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.

    Thanks

    Dave

    Collapse
    #54143

    Sergio Rodríguez
    Participant

    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 org.apache.pig.tools.grunt.Grunt – 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

    Collapse
    #54135

    Dave
    Moderator

    Hi Sergio,

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

    What does the hue log show?

    Thanks

    Dave

    Collapse
Viewing 6 replies - 1 through 6 (of 6 total)