Jdbc Hive2 Invalid Url Exception

前端 未结 1 1457
陌清茗
陌清茗 2020-12-21 05:02

I have a Hortonwork cluster (Linux) and want to use JDBC for loading data into Hive from a remote host. I am trying to get the JDBC connection to work locally on the cluster

相关标签:
1条回答
  • 2020-12-21 05:19

    Oops found it. I was using the wrong Drivername and the correct one should be:

    private static String driverName = "org.apache.hive.jdbc.HiveDriver";
    

    As suspected a silly mistake...

    0 讨论(0)
提交回复
热议问题