Created on 11-18-2019 12:45 AM - last edited on 11-18-2019 02:47 AM by VidyaSargur
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.
Created on 11-18-2019 02:32 AM - edited 11-18-2019 02:34 AM
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.
Created on 11-18-2019 02:32 AM - edited 11-18-2019 02:34 AM
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.
Created 11-18-2019 02:39 AM
@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.
Created 11-18-2019 03:48 AM
yes. you can remove pig client using ambari api.
Created 11-18-2019 03:50 AM
@sagarshimpi Thank you.