diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/hive.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
