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环境变量
  • 热门搜索
    桂林旅游学院 孕妇可以吃狗肉吗 茶的分类品种及特点 洞头旅游攻略 苹果手机怎么在电脑上下载软件 亳州旅游 宝宝几个月可以添加辅食 北京郊区旅游景点 培训经历怎么写 上海都市旅游卡