libraries for udf/jar

to create new topics or reply. | New User Registration

This topic contains 2 replies, has 2 voices, and was last updated by  Dipanshu Mansingka 1 year, 5 months ago.

  • Creator
    Topic
  • #48535

    Dipanshu Mansingka
    Participant

    The UDF to be consumed by Pig script has to call libraries. Where to keep these libraries and jar of UDF in hdfs?

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

You must be to reply to this topic. | Create Account

  • Author
    Replies
  • #48582

    Dipanshu Mansingka
    Participant

    registering java jar file i understand and calling it from pig.

    what about the libraries and grammer which java jar file uses. this lib and grammer in total is 25mb.

    Collapse
    #48581

    Jianyong Dai
    Participant

    Is it Java jar? If so, just register the jar in Pig script, your UDF should be able to access it.

    Collapse
Viewing 2 replies - 1 through 2 (of 2 total)
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.