Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Why Installing Hive Service requires PIG clients to be installed.

avatar
Expert Contributor

Hi Team,

 

Could you please help me to understand why installing Hive Service requires PIG clients to be installed. Also, is it okay to remove PIG clients after installing hive. 

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@shyamshaw 

 

This is already highlighted in community here by @LesterMartin  - https://community.cloudera.com/t5/Support-Questions/Reason-for-Hive-dependency-on-PIg-during-install...

>>>>

Probably for using HCatalog with can be extremely useful for Pig programmers even if they don't want to use Hive and just leverage this for schema management instead of defining AS clauses in their LOAD commands?

Just as likely this is something hard-coded into Ambari? If you really don't want Hive, I bet you can just delete it after installation.

For giggles, I stood up an HDFS-only HDP 3.1.0 cluster for https://community.hortonworks.com/questions/245432/is-it-possible-to-install-only-hdfs-on-linux-mach... and just added Pig (required YARN, MR, Tez & ZK, but that makes sense!) and did NOT require Hive to be added as seen below.

 

Please check the link for full details.

 

Also same you can remove PIG after installation which will not impact your HIVE.

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

@shyamshaw 

 

This is already highlighted in community here by @LesterMartin  - https://community.cloudera.com/t5/Support-Questions/Reason-for-Hive-dependency-on-PIg-during-install...

>>>>

Probably for using HCatalog with can be extremely useful for Pig programmers even if they don't want to use Hive and just leverage this for schema management instead of defining AS clauses in their LOAD commands?

Just as likely this is something hard-coded into Ambari? If you really don't want Hive, I bet you can just delete it after installation.

For giggles, I stood up an HDFS-only HDP 3.1.0 cluster for https://community.hortonworks.com/questions/245432/is-it-possible-to-install-only-hdfs-on-linux-mach... and just added Pig (required YARN, MR, Tez & ZK, but that makes sense!) and did NOT require Hive to be added as seen below.

 

Please check the link for full details.

 

Also same you can remove PIG after installation which will not impact your HIVE.

avatar
Expert Contributor

@sagarshimpi Thank you for the link.

Is it okay to remove the PIG clients if there no such use cases. Will this impact any of the service in the cluster.

avatar
Expert Contributor

yes. you can remove pig client using ambari api.

avatar
Expert Contributor

@sagarshimpi Thank you.