In my project, I need get data from hive server. But test jdbc connection to hive using the right hive username and password, it fail and shows "Could not establish connection."
my connection string url is as jdbc:hive://myservername:10000/default
I also test the other hive driver string from cloudera (jdbc:hive2://host:port/db_name) and change the connection to jdbc:hive2://myservername:10000/default
it failed too.
Before we establish a connection , it needs to provide a dirver name like
driverName =
"org.apache.hadoop.hive.jdbc.HiveDriver"
What is the hive connection url string in BDD 1.1 ? and which hive driver does it use ?