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

 时间:2024-10-13 01:10:15

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的hive2Kettle8.2怎样连接CDH6.3的hive2

5、下载远程服务器的jar包,在/opt/cloudera/parcels/CDH/lib/hive/lib目录下下载全部hi即枢潋雳ve开头的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环境变量
  • 热门搜索
    怎么下载电影到u盘 苹果手机怎么升级 魔棒工具怎么用 怎么关闭空间 多梦怎么办 网络拓扑图怎么画 谷歌浏览器怎么设置主页 前列腺钙化是怎么回事 血压低头晕怎么办 澳玛家具怎么样