Skip to main content
shyamshaw
Gold ⭐️
Gold ⭐️
November 18, 2019
Solved

Why Installing Hive Service requires PIG clients to be installed.

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. 

sagarshimpi
Gold ⭐️
November 18, 2019

@shyamshaw 

 

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

>>>>

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.

4 replies

sagarshimpi
Gold ⭐️
November 18, 2019

@shyamshaw 

 

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

>>>>

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.

Translate
shyamshaw
Gold ⭐️
shyamshawAuthor
Gold ⭐️
November 18, 2019

@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.

Translate
sagarshimpi
Gold ⭐️
November 18, 2019

yes. you can remove pig client using ambari api.

Translate