当前位置: 首页 > news >正文

安徽省建设厅网站职称网站建设一般收费

安徽省建设厅网站职称,网站建设一般收费,漯河市住房建设局网站,网站以前在百度能搜索不到前言 本节内容我们主要介绍一下Flume数据采集过程中#xff0c;如何把多个数据采集点的数据聚合到一个地方供分析使用。我们使用hadoop101服务器采集nc数据#xff0c;hadoop102采集文件数据#xff0c;将hadoop101和hadoop102服务器采集的数据聚合到hadoop103服务器输出到…前言 本节内容我们主要介绍一下Flume数据采集过程中如何把多个数据采集点的数据聚合到一个地方供分析使用。我们使用hadoop101服务器采集nc数据hadoop102采集文件数据将hadoop101和hadoop102服务器采集的数据聚合到hadoop103服务器输出到控制台。其整体架构如下 正文 ①在hadoop101服务器的/opt/module/apache-flume-1.9.0/job/group1目录下创建job-nc-flume-avro.conf配置文件用于监控nc发送的数据通过avro sink传输到avro source - job-nc-flume-avro.conf配置文件 # Name the components on this agent a1.sources r1 a1.sinks k1 a1.channels c1 # Describe/configure the source a1.sources.r1.type exec a1.sources.r1.command tail -F /opt/module/apache-flume-1.9.0/a.log a1.sources.r1.shell /bin/bash -c # Describe the sink a1.sinks.k1.type avro a1.sinks.k1.hostname hadoop103 a1.sinks.k1.port 4141 # Describe the channel a1.channels.c1.type memory a1.channels.c1.capacity 1000 a1.channels.c1.transactionCapacity 100 # Bind the source and sink to the channel a1.sources.r1.channels c1 a1.sinks.k1.channel c1 ②在hadoop102服务器的/opt/module/apache-flume-1.9.0/job/group1目录下创建job-file-flume-avro.conf配置文件用于监控目录/opt/module/apache-flume-1.9.0/a.log的数据通过avro sink传输到avro source  - job-file-flume-avro.conf配置文件 # Name the components on this agent a1.sources r1 a1.sinks k1 a1.channels c1 # Describe/configure the source a1.sources.r1.type exec a1.sources.r1.command tail -F /opt/module/apache-flume-1.9.0/a.log a1.sources.r1.shell /bin/bash -c # Describe the sink a1.sinks.k1.type avro a1.sinks.k1.hostname hadoop103 a1.sinks.k1.port 4141 # Describe the channel a1.channels.c1.type memory a1.channels.c1.capacity 1000 a1.channels.c1.transactionCapacity 100 # Bind the source and sink to the channel a1.sources.r1.channels c1 a1.sinks.k1.channel c1③在hadoop103服务器的/opt/module/apache-flume-1.9.0/job/group1目录下创建job-avro-flume-console.conf配置文件用户将avro source聚合的数据输出到控制台 - job-avro-flume-console.conf配置文件 # Name the components on this agent a1.sources r1 a1.sinks k1 a1.channels c1 # Describe/configure the source a1.sources.r1.type avro a1.sources.r1.bind hadoop103 a1.sources.r1.port 4141 # Describe the sink # Describe the sink a1.sinks.k1.type logger # Describe the channel a1.channels.c1.type memory a1.channels.c1.capacity 1000 a1.channels.c1.transactionCapacity 100 # Bind the source and sink to the channel a1.sources.r1.channels c1 a1.sinks.k1.channel c1④ 在hadoop103启动job-avro-flume-console.conf任务 - 命令 bin/flume-ng agent -c conf/ -n a1 -f job/group1/job-avro-flume-console.conf -Dflume.root.loggerINFO,console ⑤在hadoop101启动job-nc-flume-avro.conf任务 - 命令 bin/flume-ng agent -c conf/ -n a1 -f job/group1/job-nc-flume-avro.conf -Dflume.root.loggerINFO,console ⑥在hadoop102启动job-file-flume-avro.conf任务 - 命令 bin/flume-ng agent -c conf/ -n a1 -f job/group1/job-file-flume-avro.conf -Dflume.root.loggerINFO,console ⑦使用nc工具向hadoop101发送数据 - nc发送数据 - hadoop103接收到数据 ⑧在hadoop102的a.log中写入数据 - 写入数据 -  hadoop103接收到数据 结语 flume数据聚合就是为了将具有相同属性的数据聚合到一起便于管理、分析、统计等。至此关于Flume数据采集之采集数据聚合案例实战到这里就结束了我们下期见。。。。。。
http://www.hkea.cn/news/14358308/

相关文章:

  • 需要做网站设计wordpress 未分类
  • 互动网站制作网站建设 太原
  • 中国临海建设规划局网站石排镇做网站
  • 南宁网站建设接单aspx网站配置服务器
  • 怎么用电脑给域名做网站网站被刷流量怎么办
  • 空间站建造阶段无锡建设银行网站
  • 响应式学校网站模板下载能打开各种网站的浏览器
  • 学习做网页的网站互联网站建设用法
  • 网站建设方面书籍对象储存做网站
  • 网页是网站吗手机网站搜索
  • 中国建设工程造价协会网站主题网络图怎么设计
  • 为什么做腾讯网站商城网站做推广有什么好处
  • 网站空间站专业的外贸行业网站开发
  • 洛阳网站建设找洛阳铭信网络房地产首页设计
  • 微信链接网站怎么做的精智wordpress主题
  • 可以做mv的视频网站设计网站首页
  • 网站网站做维护犯罪聊城建设银行官方网站
  • 网站做404页面怎么做织梦 蓝色 个人网站博客网站源码
  • 给军方做网站套模板行不行有了域名之后怎么做网站
  • 购物网站建设规划书乐清网站改版
  • 麻城网站制作公司wordpress 导出 主题
  • 网站内容注意事项网站和管理系统哪个更难做
  • 帝国cms做淘宝客网站室内设计效果图片
  • 网站开发验收申请报告简述网页设计的开发流程
  • 怎么做网站省钱wordpress 链接新窗口
  • 设计网站大全网视频工厂网站建设
  • 网站设计培训费用是多少禁止wordpress更新提示
  • 微信小程序 连接网站门户网站有哪些局限性
  • 一级a做爰片免费网站给我看看南京百度seo代理
  • 马云做中国最大的网站wordpress去掉边栏