Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Location of pig libraries

avatar
Master Guru

On HDP I am looking for where parquet-pig-1.4.1.jar is located. I checked /usr/hdp/current/pig-client/lib and did not find anything.

Also where are 3rd party or custom libraries stored for pig? is it /usr/hdp/current/pig-client/lib ?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Sunile Manjee you need to download the jars for third party libs, they're not shipped with HDP by default. So in case of Parquet, download it from their site and place in /usr/hdp/current/pig-client/lib. You might actually have to build Parquet from source. https://github.com/Parquet/parquet-mr

View solution in original post

4 REPLIES 4

avatar
Master Mentor

@Sunile Manjee you need to download the jars for third party libs, they're not shipped with HDP by default. So in case of Parquet, download it from their site and place in /usr/hdp/current/pig-client/lib. You might actually have to build Parquet from source. https://github.com/Parquet/parquet-mr

avatar
Master Mentor

@Sunile Manjee just to clarify, you can place the jars anywhere but it's most convenient in the lib folder as Pig will see them. You can also take a look at this example https://community.hortonworks.com/questions/16415/pig-erro-execution.html#comment-16550

avatar
Master Guru

@Artem Ervits I assume so but you confirmed my understanding.

avatar
Master Mentor
@Sunile Manjee

See this https://parquet.apache.org/downloads/

On internal note: Search in wiki and you will find lot of information on it.