您的位置:首页 > 博客中心 > 数据库 >

在Eclipse下安装Hive图形开发插件--Toad for Cloud Databases

时间:2022-03-14 03:37

Hive 中敲sql语句很不方便而且数据量大了以后显示的表数据可读性非常差。

后来在Eclipse marketplace 发现有hive的插件

 

gxlsystem.com,布布扣

 

下面给出Toad for Cloud databases的安装并连通到hive的步骤

点击下载按钮

gxlsystem.com,布布扣

在这里给出了安装的URL

gxlsystem.com,布布扣

打开Eclipse

gxlsystem.com,布布扣

gxlsystem.com,布布扣

在name栏里输入该软件的名字(自定义),在location中输入URL,点击ok,完成后点击重启Eclipse

gxlsystem.com,布布扣

gxlsystem.com,布布扣

打开Toad的透视图

gxlsystem.com,布布扣

gxlsystem.com,布布扣

 

右击选择Connect to Hive

gxlsystem.com,布布扣

1.写入hive主机的ip地址

2.hive的端口,如果没改的话默认为10000

3.选择hive版本,这里最高版本只有0.7.1,我用的是0.13.1,可以正常使用

4.选择jobTracker 端口,默认为50030

5.勾选Connect with ssh

6.输入ssh 的用户名

7.输入ssh 的端口号,默认为22

8.选择密码认证,输入密码

点击ok。

如果出错的话需要在Hive服务器端开启Hive Thrift Server

hive --service hiveserver   

 gxlsystem.com,布布扣

然后就可以使用了

gxlsystem.com,布布扣

 

显示乱码的问题暂时还没有解决

热门排行

今日推荐

热门手游