Created 07-06-2017 05:59 PM
Hi Team,
I am using HDP 2.4 on HDinsight 3.6(azure) with HIVE 1.2.1.2.4 , I am unable to connect to hive CLI through putty but i am able to connect the hive view in ambari.
I was getting stuck in below stage
ssh-hadoop:~$ hive
WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.4.2.0-258/0/hive-log4j.properties
Can you Please help me to get out this issue ASAP
Created 07-06-2017 06:44 PM
Try launching Hive cli as 'hive --hiveconf hive.execution.engine=mr".
Created 07-06-2017 06:44 PM
Try launching Hive cli as 'hive --hiveconf hive.execution.engine=mr".
Created 07-06-2017 06:52 PM
Thanks @Sindhu
It was working fine with hive --hiveconf hive.execution.engine=mr".
but why should we use this? instead "hive" which i was using since starting?
Created 07-07-2017 04:18 AM
@rama
TEZ Engine first allocates memory in the cluster , then it lauches the hive cli, If you launching hive in TEZ engine, Check if any jobs in accepted state . This is the reason hive is not able to launch TEZ Engine , if you enable the debug the logs , you can able to see where it got stuck.
Created 05-02-2020 09:35 AM
@ssubhas This did not work as well. Can you help me out. I am unable to connect to HIVE SERVICE in Putty.
Created 07-06-2017 07:07 PM
Hi,
Check free memory is present in the client node .
if it is a kerberized cluster , Ensure you have a valid ticket.
Still if you have not got clue, Launch the hive cli with debug mode and check the debug logs.
hive -hiveconf hive.log.file=debug_hive.log -hiveconf hive.log.dir=/tmp/hiveCLI -hiveconf hive.root.logger=DEBUG,DRFA