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

做网站怎么穿插元素中国核工业二三建设有限公司待遇

做网站怎么穿插元素,中国核工业二三建设有限公司待遇,网站设计原型图,做网站爱1 日志服务器上配置Flume,采集本地日志文件#xff0c;发送到172.19.115.96 的flume上进行聚合#xff0c;如日志服务器有多组#xff0c;则在多台服务器上配置相同的配置 # Name the components on this agent a1.sources r1 a1.sinks k1 a1.channels c1# Describe/con…1 日志服务器上配置Flume,采集本地日志文件发送到172.19.115.96 的flume上进行聚合如日志服务器有多组则在多台服务器上配置相同的配置 # Name the components on this agent a1.sources r1 a1.sinks k1 a1.channels c1# Describe/configure the source a1.sources.r1.type TAILDIR a1.sources.r1.filegroups f1 #通配符是以.*为标识的如采集所有文件则.*,此处表示采集.log结尾的文件 a1.sources.r1.filegroups.f1 /home/admin/app/api/logs/.*log #a1.sources.r1.filegroups f1 f2 #a1.sources.r1.filegroups.f2 /usr/local/flume-1.9.0/files2/.* a1.sources.r1.positionFile /usr/local/flume-1.9.0/taildir_position.json# Describe the sink a1.sinks.k1.type avro a1.sinks.k1.hostname 172.19.115.96 a1.sinks.k1.port 4141# Use a channel which buffers events in memory 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 2 hdfs服务器上配置flume # 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 172.19.115.96 a1.sources.r1.port 4141# Describe the sink a1.sinks.k1.type hdfs a1.sinks.k1.hdfs.path hdfs://localhost:8020/test/%Y%m%d #生成的hdfs文件名的前缀 a1.sinks.k1.hdfs.filePrefix logs- #指定滚动时间默认是30秒设置为0表示禁用该策略 生产调整为3600 a1.sinks.k1.hdfs.rollInterval 10 #指定滚动大小设置为0表示禁用该策略,128M a1.sinks.k1.hdfs.rollSize 134217700 #指定滚动条数 a1.sinks.k1.hdfs.rollCount 0 #a1.sinks.k1.hdfs.batchSize 100 a1.sinks.k1.hdfs.useLocalTimeStamp true #生成的文件类型默认是Sequencefile可用DataStream则为普通文本 a1.sinks.k1.hdfs.fileType DataStream# Use a channel which buffers events in memory 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 c13 在hdfs服务器上启动HDFS start-dfs.sh 4 先启动hdfs服务器上的flume bin/flume-ng agent -c conf/ -f job/avro-flume-hdfs.conf -n a1后台运行  nohup ./bin/flume-ng agent -c conf/ -f job/avro-flume-hdfs.conf -n a1 5 再启动日志服务器上的flume bin/flume-ng agent -c conf/ -f job/file-flume-avro.conf -n a1 后台运行 nohup ./bin/flume-ng agent -c conf/ -f job/file-flume-avro.conf -n a1
http://www.w-s-a.com/news/862311/

相关文章:

  • 石狮网站建设报价百度爱采购怎么优化排名
  • 广州网站开发系统如何建设百度网站
  • 免费建立一个个人网站网站流量图怎么做
  • 微信网站建设公司首选网站后台更新 前台不显示
  • 撰写网站专题活动策划方案未成年做网站
  • 免费在线响应式网站自助建站网页设计与网站建设试卷
  • 四川省肿瘤医院搜索优化整站优化
  • 新钥匙建站深圳创业补贴政策2023
  • 建网站需要准备什么网站三个月没排名
  • 网站运营规划网站推广的手段
  • cvm可以做网站服务器吗网片围栏
  • 培训前端网站开发网站开发 群
  • 成都武侯区网站建设wordpress菜单分类目录
  • 牡丹江市西安区建设局网站给公司做的东西放到自己网站上
  • 做网站的前景如何郑州seo规则
  • 学校户网站建设方案专业设计服务
  • 电子商务网站建设好么有一个网站怎么做cpc
  • 镇海住房和建设交通局网站跨境电商就是忽悠人的
  • 维修网站怎么做跨境电商发展现状如何
  • 手机网站设计公司皆选亿企邦桐乡市建设局官方网站
  • 企业培训 电子商务网站建设 图片山东省住房和城乡建设厅网站主页
  • 做酒招代理的网站赣icp南昌网站建设
  • 怎样做网站內链大连市建设工程信息网官网
  • 网站软件免费下载安装泰安网站建设收费标准
  • 部署iis网站校园网站设计毕业设计
  • 网站快慢由什么决定塘沽手机网站建设
  • 苏州那家公司做网站比较好装修队做网站
  • 外贸网站推广中山网站流量团队
  • 网站前端设计培训做一份网站的步zou
  • 网站备案拍照茶叶网页设计素材