• flume配置及其执行命令


    flume-ng agent -c conf  conf/-f flume-http-logger.properties -Dflume.root.logger=DEBUG,console -n agent1
    
    ll, now that we've defined all of our components, tell
    # agent1 which ones we want to activate.
    agent1.channels = ch1
    agent1.sources = source1
    agent1.sinks = hdfssink1
    
    # Define a memory channel called ch1 on agent1
    agent1.channels.ch1.type = memory
    agent1.channels.ch1.capacity = 100000
    agent1.channels.ch1.transactionCapacity = 100000
    agent1.channels.ch1.keep-alive = 30
    
    # Define an Avro source called avro-source1 on agent1 and tell it
    # to bind to 0.0.0.0:41414. Connect it to channel ch1.
    agent1.sources.source1.channels = ch1
    agent1.sources.source1.type = http
    agent1.sources.source1.bind = 219.232.239.50
    agent1.sources.source1.port = 9527
    agent1.sources.source1.threads = 5
    
    # Define a logger sink that simply logs all events it receives
    # and connect it to the other end of the same channel.
    agent1.sinks.hdfssink1.hdfs.fileType=DataStream
    agent1.sinks.hdfssink1.channel = ch1
    agent1.sinks.hdfssink1.type = hdfs
    agent1.sinks.hdfssink1.hdfs.path = hdfs://219.232.239.50:8020/zhengqiang3
    agent1.sinks.hdfssink1.hdfs.writeFormat = Text
    agent1.sinks.hdfssink1.hdfs.fileType = DataStream
    agent1.sinks.hdfssink1.hdfs.rollInterval = 0
    agent1.sinks.hdfssink1.hdfs.rollSize = 134217728
    agent1.sinks.hdfssink1.hdfs.rollCount = 0
    agent1.sinks.hdfssink1.hdfs.batchSize = 1000
    agent1.sinks.hdfssink1.hdfs.txnEventMax = 1000
    

      

  • 相关阅读:
    纹理贴图的模式设置
    vs debug或者release文件夹下的 .exe文件
    subpixel的概念
    点乘
    设置开机时自动开启和关闭的软件
    CF553E Kyoya and Train
    CF960G Bandit Blues
    玩游戏
    「SWTR03」Counting Trees
    CF623E Transforming Sequence
  • 原文地址:https://www.cnblogs.com/zqzdong/p/6438973.html
Copyright © 2020-2023  润新知