On the client side, you need to run kinit manually. Beeline doesn't
support getting TGT programatically. You should ideally have a different
userid for the client side.  Also the hive command line tool (invoked
directly as 'hive') is an embedded client that doesn't communicate with
HiveServer2. You should always use beeline shell as client for HiveServer2.
For example, the steps could be -
1) Add service principal and keytab in hive-site.xml, set authentication to
2) Start HiveServer2
3) On client side, kinit user1
4) run beeline
5) !connect jdbc:hive2://pg-server.foobar.com:10000/default;principal=hive/


On Wed, Feb 12, 2014 at 8:18 AM, Anilkumar Kalshetti <
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