Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

New Contributor

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

Expert Contributor

@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

New Contributor
thank you , I will check .
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.