- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
I am using the Hive JDBC 2.1.1 and the Test Connection in a localhost the ping is 290ms
- Labels:
-
Apache Hive
Created ‎02-11-2023 11:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Created ‎02-28-2023 02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
Created ‎02-28-2023 01:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
