1. 從官網(wǎng)下載安裝包 下載網(wǎng)址
2. 安裝
第一步
第二步
第三步
第四步
3. 安裝完成后輸入激活碼
使用安裝idea的圖 datagrip 與此類似
4. 配置hive
第一步
第二步
第三步 可以在虛擬機上拷貝到本地
第四步
第五步:
在主節(jié)點上執(zhí)行如下代碼 (后臺開啟 hive 服務(wù))
不開啟此服務(wù)無法連接
1
|
[root@node01 /]# nohup hive --service hiveserver2 & |
克隆主節(jié)點測試是否能夠連接的通
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[root@node01 /]# beeline which: no hbase in (/usr/lib64/qt-3.3/bin:/usr/ local /sbin:/usr/ local /bin:/sbin:/bin:/usr/sbin:/usr/bin:/export/servers/hadoop-2.6.0-cdh5.14.0/bin:/export/servers/hive-1.1.0-cdh5.14.0//bin:/export/servers/jdk1.8.0_144/bin:/root/bin) beeline version 1.1.0-cdh5.14.0 by apache hive beeline> beeline> beeline> ! connect jdbc:hive2://node01:10000 scan complete in 2ms connecting to jdbc:hive2://node01:10000 enter username for jdbc:hive2://node01:10000: root enter password for jdbc:hive2://node01:10000: ****** connected to : apache hive (version 1.1.0-cdh5.14.0) driver: hive jdbc (version 1.1.0-cdh5.14.0) transaction isolation : transaction_repeatable_read 0: jdbc:hive2://node01:10000> |
第六步 (看到如下信息即為成功)
datagrip系列教程:
最新datagrip2020.2.x破解版激活碼的步驟詳解(支持mac/windows/linux)
datagrip 2020.1 安裝與激活方法
到此這篇關(guān)于datagrip連接hive的詳細圖文教程的文章就介紹到這了,更多相關(guān)datagrip連接hive內(nèi)容請搜索服務(wù)器之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持服務(wù)器之家!
原文鏈接:https://blog.csdn.net/weixin_45749011/article/details/103171510