Is it possible to install Beeline to run Hive queries without installing Hive?

jcollum picture jcollum · Sep 2, 2016 · Viewed 7.2k times · Source

I'm on a Mac OSX machine and I'd like to run queries against a Hadoop db on a CentOS 6.6 machine. I can log in to the CentOS machine and run hive queries there. But I need to be able to run queries from my machine to troubleshoot connection issues.

Is there a way to install Beeline (the newer version of Hive CLI) or Hive on OSX without installing/configuring Hadoop? The information that I've seen says that you need to install Hadoop first, which seems like overkill just to test whether a remote database is listening for connections.

Answer

jcollum picture jcollum · Sep 2, 2016

$ brew install hive worked well enough. I guess I'll leave this question up since I couldn't find the answer on the internet. 141 megs of disk space though, boo.