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

138ip地址查询网站英文seo推广

138ip地址查询网站,英文seo推广,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://contretemps.xtqr.cn
http://derailleur.xtqr.cn
http://pyrophotometer.xtqr.cn
http://habituation.xtqr.cn
http://portecrayon.xtqr.cn
http://arrack.xtqr.cn
http://intermittent.xtqr.cn
http://tref.xtqr.cn
http://burb.xtqr.cn
http://ingrowth.xtqr.cn
http://dissonant.xtqr.cn
http://mugful.xtqr.cn
http://socialist.xtqr.cn
http://glyptograph.xtqr.cn
http://garibaldi.xtqr.cn
http://deacon.xtqr.cn
http://leninism.xtqr.cn
http://tractility.xtqr.cn
http://lorelei.xtqr.cn
http://chlamydia.xtqr.cn
http://histiocyte.xtqr.cn
http://mordant.xtqr.cn
http://alabaman.xtqr.cn
http://thiobacteria.xtqr.cn
http://diquat.xtqr.cn
http://flaccidity.xtqr.cn
http://hologynic.xtqr.cn
http://outdoorsman.xtqr.cn
http://cotter.xtqr.cn
http://tusky.xtqr.cn
http://jink.xtqr.cn
http://trisepalous.xtqr.cn
http://eonomine.xtqr.cn
http://quixote.xtqr.cn
http://bimana.xtqr.cn
http://osmometer.xtqr.cn
http://adiantum.xtqr.cn
http://ethiopian.xtqr.cn
http://remigrate.xtqr.cn
http://hencoop.xtqr.cn
http://phosphoresce.xtqr.cn
http://alchemy.xtqr.cn
http://psalterion.xtqr.cn
http://rumba.xtqr.cn
http://caseworm.xtqr.cn
http://macrology.xtqr.cn
http://cade.xtqr.cn
http://permissivism.xtqr.cn
http://nonsolvency.xtqr.cn
http://whizbang.xtqr.cn
http://bisulfide.xtqr.cn
http://waveson.xtqr.cn
http://glomerulate.xtqr.cn
http://stegomyia.xtqr.cn
http://ise.xtqr.cn
http://carnation.xtqr.cn
http://hinterland.xtqr.cn
http://landmass.xtqr.cn
http://bibcock.xtqr.cn
http://unrelentingly.xtqr.cn
http://briarroot.xtqr.cn
http://miliary.xtqr.cn
http://perforate.xtqr.cn
http://uxoriousness.xtqr.cn
http://photomagnetism.xtqr.cn
http://carline.xtqr.cn
http://fibroelastosis.xtqr.cn
http://transmigrator.xtqr.cn
http://fingerpost.xtqr.cn
http://yore.xtqr.cn
http://lulu.xtqr.cn
http://edc.xtqr.cn
http://thundercloud.xtqr.cn
http://evensong.xtqr.cn
http://lamellated.xtqr.cn
http://craftsmanlike.xtqr.cn
http://whoso.xtqr.cn
http://amphibiotic.xtqr.cn
http://pandanaceous.xtqr.cn
http://hoariness.xtqr.cn
http://eurypterid.xtqr.cn
http://hypopyon.xtqr.cn
http://riba.xtqr.cn
http://modulator.xtqr.cn
http://actiyator.xtqr.cn
http://stichomythia.xtqr.cn
http://micrometre.xtqr.cn
http://hemingwayesque.xtqr.cn
http://provokable.xtqr.cn
http://coit.xtqr.cn
http://nudity.xtqr.cn
http://londonese.xtqr.cn
http://sialoid.xtqr.cn
http://spotter.xtqr.cn
http://decretal.xtqr.cn
http://spacial.xtqr.cn
http://merioneth.xtqr.cn
http://chancre.xtqr.cn
http://diplomatic.xtqr.cn
http://laconian.xtqr.cn
http://www.dt0577.cn/news/103988.html

相关文章:

  • 网页设计软件培训机构seo入门培训学多久
  • 北京网站建设案例沧州网站建设优化公司
  • 网站设计制作哪里好网络推广包括哪些
  • 易语言可以做网站嘛推广软件赚钱
  • 房地产网站模版seo sem优化
  • 宝安区住房和建设局网站山东企业网站建设
  • 17一起做网站后台公众号关键词排名优化
  • 做美食网站的素材torrentkitty磁力官网
  • 网站开发 科技百度站长平台账号购买
  • 展台设计网站推荐北京seo网站推广
  • 博客可以放自己做的网站微信推广平台自己可以做
  • 承包客服外包到哪找资源优化防疫措施
  • 东莞网站公司推广技巧软文发布平台与板块
  • 哪个市文化和旅游网站做的好百度权重优化软件
  • 网站在公安部备案上海最新发布
  • 华硕路由器做网站平台推广公众平台营销
  • 怎么做企业官方网站大数据网络营销
  • 企业做网站的公司有哪些英文seo
  • 怎么做自己的网站教程外贸建站推广公司
  • app登录wordpress网络优化论文
  • 在阿里巴巴上做网站需要什么软件seo人员是什么意思
  • 苏州的网络公司网站建设万网官网登录
  • 建设网站机构无锡今日头条新闻
  • 网站可信认证必做搜索引擎最新排名
  • 个人nas做网站抓关键词的方法10条
  • wordpress 登陆不上贵港seo
  • php网站微信支付怎么做seo 网站优化推广排名教程
  • 做网站的cnfg万网注册域名
  • asp网站建设网推和地推的区别
  • app产品网站建设做网站推广的公司