New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Hortonworks Exam Hadoop-PR000007 Topic 1 Question 64 Discussion

Actual exam question for Hortonworks's Hadoop-PR000007 exam
Question #: 64
Topic #: 1
[All Hadoop-PR000007 Questions]

To use a lava user-defined function (UDF) with Pig what must you do?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Bettina
7 months ago
No, I don't think that's necessary. Just registering the JAR file should be enough.
upvoted 0 times
...
Anjelica
7 months ago
Do we need to put the JAR file into the user's home folder in HDFS as well?
upvoted 0 times
...
Amalia
7 months ago
I believe that's important for the UDF to function correctly.
upvoted 0 times
...
Kati
7 months ago
Should we also pass arguments to the constructor of UDFs implementation class?
upvoted 0 times
...
Ressie
8 months ago
Yes, that's correct. We have to make sure Pig can find the UDF.
upvoted 0 times
...
Bettina
8 months ago
I think we need to register the JAR file containing the UDF.
upvoted 0 times
...

Save Cancel