0
点赞
收藏
分享

微信扫一扫

ArrayList和LinkedList的区别!!!

艾晓雪 2024-06-15 阅读 15

kettle_Hbase

读取hdfs文件并将sal大于1000的数据保存到hbase中

前置说明:

1.需要配置HadoopConnect 将集群中的/usr/local/soft/hbase-1.4.6/conf/hbase-site.xml复制至Kettle中的

Kettle\pdi-ce-8.2.0.0-342\data-integration\plugins\pentaho-big-data-plugin\hadoop-configurations\hdp26目录中

2.配置Hadoop Cluster 中Zookeeper的Hostname为master,port为2181

1、在HBase中创建一张people表

hbase(main):004:0> create 'people','info'

2、按下图建立流程图

image.png

  • 文本文件输入

image.png

image.png

  • 设置过滤记录

image.png

  • 设置HBase output

image.png

image.png

  • 执行转换

image.png

  • 查看hbase people表的数据

    scan 'people'

举报

相关推荐

0 条评论