From 7ebe48e608fe4e113d0d6c839ea764cca1a29168 Mon Sep 17 00:00:00 2001 From: Gabor Ratky Date: Sat, 11 Jan 2014 11:20:27 -0800 Subject: hive: install hcatalog Closes #27486. Signed-off-by: Adam Vandenberg --- Library/Formula/hive.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/hive.rb b/Library/Formula/hive.rb index e34aeedb5..13b60cc32 100644 --- a/Library/Formula/hive.rb +++ b/Library/Formula/hive.rb @@ -9,7 +9,7 @@ class Hive < Formula def install rm_f Dir["bin/*.bat"] - libexec.install %w[bin conf examples lib] + libexec.install %w[bin conf examples hcatalog lib scripts] bin.write_exec_script Dir["#{libexec}/bin/*"] end @@ -18,6 +18,9 @@ class Hive < Formula After installation, set $HIVE_HOME in your profile: export HIVE_HOME=#{libexec} + If you want to use HCatalog with Pig, set $HCAT_HOME in your profile: + export HCAT_HOME=#{libexec}/hcatalog + You may need to set JAVA_HOME: export JAVA_HOME="$(/usr/libexec/java_home)" EOS -- cgit v1.2.3