Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not open connection to Hive #18663

Closed
nsaolapu opened this issue Jan 5, 2023 · 7 comments
Closed

Can not open connection to Hive #18663

nsaolapu opened this issue Jan 5, 2023 · 7 comments

Comments

@nsaolapu
Copy link

nsaolapu commented Jan 5, 2023

Description

I trying to connect one HIveDB from DBeaver and i am getting the error as shown above . i can connect to the server using other tools like Putty, WinScp and Hive Shell. Any help regrading this is highly appreciated.

DBeaver Version

22.0.4

Operating System

Windows 10 Enterprise

Database and driver

1 . Database HIVE and Driver "org.apache.hive.jdbc.HiveDriver"

hive-jdbc-uber-2.6.5.0-292.jar

Steps to reproduce

  1. I try to connect to the database using credentials
  2. i get this error
    Could not open client transport with JDBC Uri: jdbc:hive2://{HiveServer}:10001/{DB}: java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    Connection refused: connect
    Connection refused: connect
    I kept server name as hidden.

Additional context

No response

@LonwoLonwo LonwoLonwo changed the title Could not open client transport with JDBC Uri: jdbc:hive2://{HiveServer}:10001/{DB}: java.net.ConnectException:Could not open client transport with JDBC Uri: jdbc:hive2://{HiveDB}:10001/pdci: java.net.ConnectException: Connection refused: connect java.net.ConnectException: Connection refused: connect java.net.ConnectException: Connection refused: connect Can not open connection to Hive Jan 5, 2023
@LonwoLonwo LonwoLonwo added x:hive Apache Hive specific xf:connection labels Jan 5, 2023
@LonwoLonwo
Copy link
Member

@LonwoLonwo
Copy link
Member

Did you use the URL connection type or host?

2023-01-05 12_12_38-Connect to a database

@nsaolapu
Copy link
Author

nsaolapu commented Jan 5, 2023 via email

@ShadelessFox
Copy link
Member

Hello @nsaolapu,

I'm sorry for the late response. Are you using an SSH tunnel?

@nsaolapu
Copy link
Author

nsaolapu commented Jan 26, 2023 via email

@ShadelessFox
Copy link
Member

It looks like the supplied server URL/address is not accessible. Are you sure it's available through other tools without an SSH tunnel?

@E1izabeth
Copy link
Member

It's been a long time since no update here. If you encounter this issue again, please let me know and provide additional info.

@E1izabeth E1izabeth closed this as not planned Won't fix, can't repro, duplicate, stale Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants