hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Kumar <>
Subject Urgent help: Not able to connect to hiveserver2 through beeline remote client
Date Wed, 19 Nov 2014 15:23:38 GMT
Hi All,

I am trying to connect hiveserver2 through beeline remote client. I followed following steps
but not able to connect through Remote Client with HiveServer2 TCP Transport Mode and SASL

I followed following steps to run hive tests through beeline in authorization mode,

1.       I did required configuration change and started hiveserver2 in authorization mode.
I followed below document,

2.       I started the hiveserver  with following command,

hive --service hiveserver2  --hiveconf --hiveconf
--hiveconf hive.metastore.uris=' '

3.       Server started successfully, I verified it in server log file.  As per document it
should be started in standard authorization mode.

After that I tried to connect using beeline steps mentioned at

4.       When I run following command

beeline>  !connect jdbc:hive2://localhost:10000/default

it ask for username and password and after that it hangs. Some times in server log I found
Out Of Memory error.

                I am able to connect to hiveserver2 through beeline in embedded mode.
I tried to search  older conversation for similar issues. I found similar issues discussed
But I there is no solution for this issue is mentioned till end.

Any pointer on this would be great help.

Thanks and Regards,

This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

View raw message