Hive connection using jdbc driver


Hi All,
I am trying to connect cloudxlab hive db using Java program on my eclipse. I am facing issue while connecting. There are three points which i have drill down for debugging.

  1. what connection string should i use to connect Cloudxlad Hive db.?
  2. i am using driver =“org.apache.hadoop.hive.jdbc.HiveDriver” is this correct?
  3. Connection string which iam using "jdbc:hive:// "
    do i need to use hive or hive2 init.

Please help on the same.


You can find the Hive JDBC URL in Ambari


Sorry but hive jdbc url mentioned in Ambari is not working


It isn’t working for me either, @abhinavsingh, please advise.