The getVersion method in the hive jdbc driver should give you the
version, which is read from the manifest version in the META-INF
folder of th hive jar.

On Monday, May 31, 2010, Arvind Prabhakar <[email protected]> wrote:
> Hello Kortni,
> One way to find out which version of Hive you are using is to look at the 
> hive-default.xml file under conf directory. In this file, check out the value 
> of the property hive.hwi.war.file, which should be of the format:
>
> <value>lib/hive-hwi-VERSION.war</value>
> Form there you can infer the version.
> If you want a more direct means of finding out the version of Hive, please 
> file a Jira as enhancement request.
>
> Arvind
>
> On Thu, May 27, 2010 at 2:58 PM, Kortni Smith <[email protected]> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hello,
>
> How can you tell what version of hive is running?
>
> I’m working with hive and EMR, and know that’s
> it’s hive 0.4 from the EMR job’s first step configuration 
> (s3://elasticmapreduce/libs/hive/0.4/install-hive),
> but I need to know if it’s 0.4.1 or 0.4.0.
>
>
>
> Thanks
>
>
>
>
>
> Kortni Smith | Software Developer
> AbeBooks.com  Passion for
> books.
>
> [email protected]
> phone: 250.412.3272  |  fax: 250.475.6014
>
> Suite 500 - 655 Tyee Rd. Victoria, BC. Canada V9A 6X5
>
> www.abebooks.com  |  www.abebooks.co.uk  |  www.abebooks.de
> www.abebooks.fr  |  www.abebooks.it  |  www.iberlibro.com
>
>
>
>
>
>
>
>
>
>
>
>

Reply via email to