I like:

hive version:  $ schematool -info -dbType <your metastore dbtype>

hadoop version:  $ hadoop version
Lefty recently plugged schematool not long ago so props to her on that one.
Under the covers you'll see that it's a shortcut for hive --service
schemaTool which is the official way to run it. Either way will do it.
On Sun, Feb 9, 2014 at 8:32 AM, Raj Hadoop <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB