Connect to kerberised hive using jdbc from remote windows system

前端 未结 3 1046
时光取名叫无心
时光取名叫无心 2020-12-21 13:39

I have setup a hive environment with Kerberos security enabled on a Linux server (Red Hat). And I need to connect from a remote windows machine to hive using JDBC.

S

3条回答
  •  长情又很酷
    2020-12-21 14:01

    String url = "jdbc:hive2://:10000/default;principal=hive/_HOST@"
    

    You should replace with your real REALM.

提交回复
热议问题