Kettle8.2怎样连接CDH6.3的hive2

2026-02-16 08:20:00

1、服务器终端输入命令:hiveserver2

Kettle8.2怎样连接CDH6.3的hive2

2、测试10000端口启动情况,服务器终端输入命令:sudo netstat -anp|grep 10000

Kettle8.2怎样连接CDH6.3的hive2

3、服务器终端输入命令:beeline,进入后输入命令:

!connect jdbc:hive2://ip:10000,可以连接的话就进行后边的步骤,没有设置用户名密码的话就一路回车

Kettle8.2怎样连接CDH6.3的hive2

4、修改D:\pdi-ce-8.2.0.0-342\data-integration\plugins\pentaho-big-data-plugin目录下的plugin.properties文件中的active.hadoop.configuration为cdh514,这个值在D:\pdi-ce-8.2.0.0-342\data-integration\plugins\pentaho-big-data-plugin\hadoop-configurations目录下

Kettle8.2怎样连接CDH6.3的hive2

Kettle8.2怎样连接CDH6.3的hive2

5、下载远程服务器的jar包,在/opt/cloudera/parcels/CDH/lib/hive/lib目录下下载全部hive开头的jar包到本地,然后复制到D:\pdi-ce-8.2.0.0-342\data-integration\lib和D:\pdi-ce-8.2.0.0-342\data-integration\plugins\pentaho-big-data-plugin\hadoop-configurations\cdh514\lib目录下

6、启动Kettle,测试连接

Kettle8.2怎样连接CDH6.3的hive2

猜你喜欢