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

  • 如何配置jdk环境变量
  • JDK环境变量怎么配置
  • 如何使用Idea还原commit
  • JDK如何安装与配置环境变量
  • 如何配置jdk环境变量
  • 热门搜索
    春天的手抄报图片 中秋手抄报 植树节手抄报简单 森林草原防灭火的手抄报 劳动最光荣手抄报内容 手抄报春节 禁毒防艾手抄报 手抄报插图 艾滋病手抄报 我的梦想手抄报