Support Questions

Find answers, ask questions, and share your expertise

I am using the Hive JDBC 2.1.1 and the Test Connection in a localhost the ping is 290ms

avatar
Explorer

I am using the Hive JDBC 2.1.1 and the Test Connection in localhost the ping is 290ms. I am using an IDE Pycharm for this (I created the Tkt to JetBrains to check if some issues on their side). 

What do I need to check on and improve the ping response?

2 REPLIES 2

avatar
Master Collaborator

@grojas How is the response when you ping 127.0.0.1 ?

If it is faster, do check what's the order of the HOST resolution in nsswitch.conf file:

# grep -i hosts /etc/nsswitch.conf
#hosts:     db files nisplus nis dns
hosts:      files dns myhostname

 Make sure you have files as the first entry. Also, add an entry in the /etc/hosts file as follows:

#cat /etc/hosts
127.0.0.1	localhost

avatar
Explorer
thank you , I will check .