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

php 开源企业网站推广竞价托管费用

php 开源企业网站,推广竞价托管费用,wordpress修改摘要字数限制,金融建设网站1 日志服务器上配置Flume,采集本地日志文件,发送到172.19.115.96 的flume上进行聚合,如日志服务器有多组,则在多台服务器上配置相同的配置 # 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 = c1

3 在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.yidumall.com/news/91897.html

相关文章:

  • .php的网站是怎么做的优化关键词排名哪家好
  • 做网站客户端石家庄seo全网营销
  • 百度网盘怎么增大免费空间神马移动排名优化
  • 有效的网站需要做到什么意思搜索百度
  • 济南软件网站建设百度网页版网址
  • 百度网站托管域名查询入口
  • 可以个人做单的猎头网站谷歌商店官网
  • 流量统计网站推广法乐山网站seo
  • 怎么做网站搜索关键词百度搜索榜
  • 提高网站访问速度湖南网站建设推广
  • 做三角渐变用哪个网站百度网盘app下载安装官方免费下载
  • 承包建筑工程信息网站关键词排名优化顾问
  • 网站的结构与布局优化seo网络推广公司
  • 遵义创意网站设计百度竞价一个月5000够吗
  • 网线水晶头接法seo研究中心道一老师
  • 网站建设几层结构电子技术培训机构
  • 织梦 去掉我的网站网络营销的特点举例说明
  • 做宠物的网站主题思想阿里指数查询手机版
  • 建设部幼儿园网站首页广州网站优化服务商
  • 成都企业网站建设公司福州百度seo
  • 美国终于承认了新冠病毒关键字排名优化工具
  • 网站上的充值链接怎么做的网站seo策划方案案例分析
  • 做网站技术服务合同网络推广平台公司
  • 找合伙做网站的网站排名工具
  • 网站公司做的网站点击率怎么查seo优化软件大全
  • 北京地区网站制作公司河源疫情最新通报
  • 政府的旅游网站建设个人怎么注册自己的网站
  • 网站建站加盟搜索引擎优化培训免费咨询
  • 政府专题网站模板苏州关键词优化搜索排名
  • 手机app商城三门峡网站seo